Hi Hoss, Thanks a lot for the information. Here is what I am trying to achieve.
1. I am trying to customize the search with q query parameter, so that it can support wildcard and field boosting. I customize QueryParser and created the wildcard query in the same way as it does for non wildcard. But even with this changed query, the results are not showing up. I figured out as how it is doing the field boosting with the scores. But what I want to know is how it is fetching the records from the indexes based on the query. Please suggest how I should go forward. Thanks, Amit Garg hossman wrote: > > : 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 > > > -- View this message in context: http://www.nabble.com/Search-schema-using-q-Query-tp22218801p22281876.html Sent from the Solr - User mailing list archive at Nabble.com.