: One first step is to use debugQuery=true as an additional parameter to your : search request. That'll return debug info in the response, which includes a : couple of views of the parsed query.
the query mentioned in the original post appears to come from debugQuery=true using hte dismax parser. : > This query is correct and returns the result also. I am looking for the : > class file, where the actual searching is taking place. I want to see as how : > it is interpreting the query and how it is returning the result. that's kind of a vague question ... the QParser generates the query, the QueryComponent executes it ... using the SOlrIndexSearcher, which delegates to a Lucene IndexSearcher, which delegates back to the Query to generate a Scorer to iterate over matches. : > I am trying to customize the searching logic for our specific needs. instead of asking which class file interprets the query, perhaps you should tell us what your specific goal is. what kinds of customizations do you want to make?.... http://people.apache.org/~hossman/#xyproblem XY Problem Your question appears to be an "XY Problem" ... that is: you are dealing with "X", you are assuming "Y" will help you, and you are asking about "Y" without giving more details about the "X" so that we can understand the full issue. Perhaps the best solution doesn't involve "Y" at all? See Also: http://www.perlmonks.org/index.pl?node_id=542341 -Hoss