Apache Lucene Interview Question-Answer

Q.1 ________ is the software that crawls around the internet to convene documents and their web addresses.

       A. Spider

       B. Flyer

       C. All the options

       D. None of the options

Ans : Spider

Q.2 Speed and performance of the search process can be optimized in __________.

       A. Index-based search

       B. Sequential-based search

       C. None of the options

Ans : Index-based search

Q.3 Individual atomic elements of Documents are named as __________.

       A. Record

       B. Tokens

       C. Fields

       D. All the options

Ans : Tokens

Q.4 Different documents cannot have different fields.

       A. True

       B. False

Ans : False

Q.5 Apache Nutch is an application that extends the capability of Lucene Indexing and Searching.

       A. True

       B. False

Ans : True

Q.6 Simple Analyzer removes the Stopwords.

       A. True

       B. False

Ans : False

Q.7 Lucene is an open source __________ library.

       A. JAVA

       B. .Net

       C. Python

       D. None of the Mentioned

Ans : JAVA

Q.8 Document of Apache Lucene is similar to __________ of the Database.

       A. Tokens

       B. Fields

       C. Record

       D. All the options

Ans : Record

Q.9 Which type of analyzer helps in extracting root words?

       A. Stemming

       B. Simple

       C. Stop Analyzer

       D. Standard

Ans : Stemming

Q.10 Indexing Structure used in Lucene is __________.

       A. Inverted Index

       B. Dense index

       C. Multi-Level Index

       D. Sparse Index

Ans : Inverted Index

Q.11 Which is the core layer of Lucene?

       A. Storage Layer

       B. Application Layer

       C. Index Layer

       D. None of the options

Ans : Index Layer

Q.12 Which phase of Apache Lucene involves the process of breaking down the documents into Tokens?

       A. Analyzing

       B. Searching

       C. Indexing

       D. All the options

Ans : Analyzing

Q.13 __________ encompasses the total number of search results obtained.

       A. TopDocs

       B. ScoreDocs

       C. All the options

       D. None of the mentioned

Ans : TopDocs

Q.14 Wild Card Queries are not supported in Lucene.

       A. True

       B. False

Ans : False

Q.15 Searching can be corelated to querying process of the Database operations.

       A. True

       B. False

Ans : True

Q.16 Range Query “Year[2000 to 2003]” includes values ___________.

       A. 2001, 2002, 2003

       B. 2000, 2001, 2002, 2003

       C. 2000, 2001, 2002

       D. None of the options

Ans : 2000, 2001, 2002, 2003

Q.17 The metadata option “Field.Store.No” denotes __________.

       A. Field Value is not stored

       B. Field Value is stored

       C. All the options

       D. None of the options

Ans : Field Value is not stored

Q.18 __________ converts the textual expression into a Query Object.

       A. Index Reader

       B. Query Parser

       C. Index Searcher

Ans : Query Parser

Q.19 Sorting technique used by Lucene to sort the Indexes is __________.

       A. Merge Sort

       B. Bubble Sort

       C. Selection Sort

       D. None of the options

Ans : Merge Sort

Q.20 Lucene Algorithm(s) used in Scoring Process is/are ____________.

       A. MultiSimilarity

       B. BM25Similarity

       C. TFIDFSimilarity

       D. SimilarityBase

       E. All the options

Ans : All the options

Q.21 The Metadata option ‘Field.Index.NOT_ANALYZED’ signifies __________.

       A. Fields are analysed but not indexed

       B. Fields are only analyzed

       C. Fields are indexed but not analysed

       D. Fields are only Indexed

Ans : Fields are indexed but not analysed

Q.22 Which type of analyzer uses its logic to identify specific words such as domain name and email?

       A. Standard

       B. Stop Analyzer

       C. Simple

       D. Stemming

Ans : Standard

Q.23 Key feature(s) that distinguish/distinguishes Lucene is/are __________.

       A. Powerful Querying

       B. Sorting by any field

       C. Fielded Searching

       D. Ranked Searching

       E. All the options

Ans : All the options

Q.24 Lucene can index __________.

       A. Text only

       B. Numeric content only

       C. Text and Numeric

       D. None of the options

Ans : Text and Numeric

Q.25 Lucene Analysis process produces the output of __________.

       A. StopWords

       B. TokenStream

       C. Index

       D. All the options

Ans : TokenStream

Q.26 Lucene retrieves the search results by using __________.

       A. Pure Boolean Model

       B. Vector Space Model

       C. All the options

       D. None of the options

Ans : Pure Boolean Model

Q.27 The (~) tilde symbol is utilized at the end of a term to define a Fuzzy Search.

       A. True

       B. False

Ans : True

Leave a Comment