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.

        Erik

On Feb 26, 2009, at 2:05 AM, dabboo wrote:


Hi,

I am trying to search the schema with the q query parameter. Query which
gets form is:

+(programJacketImage_program_s:test | courseCodeSeq_course_s:test |
authorLastName_product_s:test | Index_Type_s:test | prdMainTitle_s:test^10.0
| discCode_course_s:test | sourceGroupName_course_s:test |
indexType_course_s:test | prdMainTitle_product_s:test |
isbn10_product_s:test | displayName_course_s:test | groupNm_program_s:test |
discipline_product_s:test | courseJacketImage_course_s:test |
imprint_product_s:test | introText_program_s:test |
productType_product_s:test | isbn13_product_s:test |
copyrightYear_product_s:test | prdPubDate_product_s:test |
programType_program_s:test | editor_product_s:test |
courseType_course_s:test | productURL_s:test^10000.0 |
courseId_course_s:test | categoryIds_product_s:test |
indexType_program_s:test | strapline_product_s:test |
subCompany_course_s:test | aluminator_product_s:test | readBy_product_s:test
| subject_product_s:test | edition_product_s:test |
programId_program_s:test)~0.01 () all:english^90.0 all:hindi^123.0
all:glorious^2000.0 all:highlight^1.0E7 all:math^100.0 all:ab^12.0
all:erer^4545.0

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.

I am trying to customize the searching logic for our specific needs.

Please help.

Thanks,
Amit Garg
--
View this message in context: 
http://www.nabble.com/Search-schema-using-q-Query-tp22218801p22218801.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to