On Mon, 9 Aug 2010 05:31:36 -0700 (PDT)
e8en <e...@tokobagus.com> wrote:

> 
> I forgot something,
> 
> when I enter this:
> http://172.11.18.120:9000/search/select/?q=text:bracket&q.op=AND&start=0&rows=1000
> 
> the result will show all ITEM_ID that contain 'bracket' word in
> both or one of ITEM_DESCR_SHORT or ITEM_TITLE
[...]

Please read up on the excellent Solr documentation on the Wiki, and
understand how the query parameter, 'q', in the URL works. Besides
the solution that Otis has already provided, if you want a query of
"text:bracket" to search for the word "bracket" only in the fields
AUC_DESCR_SHORT and AUC_TITLE, you have to copy *only* those fields
into the default search field (named "text" by default).

From the description of what you observe, it seems that the default
search field, "text", in schema.xml is having only ITEM_DESCR_SHORT
and ITEM_TITLE copied into it. Please post your schema.xml file
here for further clarifications.

Regards,
Gora

Reply via email to