Ans: It is a standalone full text search server which applications communicate with using XML and HTTP to index documents, or execute searches. It is used to support a rich schema specification that is used to allow for a wide range of flexibility in dealing with different document fields, and has an extensive search plugin API for developing custom search behavior.
Ans: solrconfig.xml file contains configuration for data directory.
Ans: schema.xml file contains definition of the field types and fields of documents.
Ans: The features of apache solr are:
Ans: Apache lucene is a full featured, High performance text search engine library which is written in java.
Ans: When a user runs a search in solr, the search query is processed by a request handler. It is a solr plugin that defines the logic to be used when solr processes a request.
Ans: The advantage of standard query parser is that it is used to enable users to specify very precise queries.
Ans: It is the arrangement of search results into categories based on indexed terms.
Ans: Field type defines how solr should interpret data in a field and how the field can be queried.
Ans: A field type includes four types of information:
Ans: It is used to allow solr to index fields that you did not explicitly define in the schema.
Ans: An Analyzer is used to examine text of fields and generates a token stream.
Ans: It is used to break up a stream of text into tokens, where each token is a sub sequence of characters in the text.
Ans: This filter is used to create tokens using one of the phonetic encoding algorithms in the org.apache.commons.codec.language package.
Ans: Apache solr includes the ability to set up a cluster of solr servers that combines fault tolerance high availability called SolrCloud.
Ans: It is used to describe how to populate fields with data copied from another field.
Ans: It is used to give the detailed information about Solr’s highlighting utilities.
Ans: There are 3 highlighters:
Ans: It is used to generate statistics over the results of arbitrary numeric functions.
Ans: Execute $ bin/solr –helpto see how to use the bin/solr script.
Ans: $ bin/solr stop -p 8983 is used to stop solr.
Ans: $ bin/solr start –f is used to start solr in foreground.
Ans: $ bin/solr status is used to check solr running status.
Ans: $ bin/solr start is used to start the server.
Ans: To shut down Solr from the terminal where you launched Solr,then click Ctrl+C.
Ans: Schema declares:
Ans: Basic field type in solr is:
Ans: It has 3 steps:
Ans: There are 2 most important configuration files of solr:
Ans: The most common elements in solrconfig.xml are: