lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gora Mohanty <>
Subject Re: how to query a string using solr URL in the browser
Date Mon, 09 Aug 2010 18:03:11 GMT
On Mon, 9 Aug 2010 05:31:36 -0700 (PDT)
e8en <> wrote:

> I forgot something,
> when I enter this:
> 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.


View raw message