That would be more of a question for the Lucene dev list, but... the standard answer there would be for you to become familiar with the Lucene source code and trace through it yourself.

It's a "Lucene directory", not a "Solr directory" - Solr is a server built on top of the Lucene search library.

The starting point would be the IndexSearcher class:
http://lucene.apache.org/core/4_9_0/core/org/apache/lucene/search/IndexSearcher.html

And the IndexReader class:
http://lucene.apache.org/core/4_9_0/core/org/apache/lucene/index/IndexReader.html

And the DirectoryReader class:
http://lucene.apache.org/core/4_9_0/core/org/apache/lucene/index/DirectoryReader.html

And its open method:
http://lucene.apache.org/core/4_9_0/core/org/apache/lucene/index/DirectoryReader.html#open(org.apache.lucene.index.IndexWriter,+boolean)

There is a lot of processing that occurs for queries in Solr as well (Search Components), but none of it is down at that Lucene file level.

-- Jack Krupansky

-----Original Message----- From: abhi Abhishek
Sent: Friday, August 8, 2014 7:59 AM
To: solr-user@lucene.apache.org
Subject: explaination of query processing in SOLR

Hello,
   I am fairly new to SOLR, can someone please help me understand how a
query is processed in SOLR, i.e, what i want to understand is from the time
it hits solr what files it refers to process the query, i.e, order in which
.tvx, .tvd files and others are accessed. basically i would like to
understand the code path of the search functionality also significance of
various files in the solr directory such as .tvx, .tcd, .frq, etc.


Regards,
Abhishek Das

Reply via email to