Newbie Q: searching multiple fields

2008-06-02 Thread Jon Drukman
I am brand new to Solr. I am trying to get a very simple setup running. I've got just a few fields: name, description, tags. I am only able to search on the default field (name) however. I tried to set up the dismax config to search all the fields, but I never get any results on the other

Re: Newbie Q: searching multiple fields

2008-06-02 Thread Yonik Seeley
Verify all the fields you want to search on indexed Verify that the query is being correctly built by adding debugQuery=true to the request -Yonik On Mon, Jun 2, 2008 at 1:53 PM, Jon Drukman [EMAIL PROTECTED] wrote: I am brand new to Solr. I am trying to get a very simple setup running.

Re: Newbie Q: searching multiple fields

2008-06-02 Thread Tim Christensen
Jon, As a nearly ex-newbie you are experiencing some similar things I did. If you are using the default set-up of Solr, make sure in your schema.xml you are indexing the fields you want to search, at least for now, as text fields. One way you can scale this easily for example if your

Re: Newbie Q: searching multiple fields

2008-06-02 Thread Jon Drukman
Yonik Seeley wrote: field name=id type=integer indexed=true stored=true required=true / field name=name type=text indexed=true stored=true/ field name=description type=string indexed=true stored=true/ There is your issue: type string indexes the whole field value as a single token. You

Re: Newbie Q: searching multiple fields

2008-06-02 Thread Jon Drukman
Yonik Seeley wrote: Verify all the fields you want to search on indexed Verify that the query is being correctly built by adding debugQuery=true to the request here is the schema.xml extract: field name=id type=integer indexed=true stored=true required=true / field name=name type=text

Re: Newbie Q: searching multiple fields

2008-06-02 Thread Yonik Seeley
On Mon, Jun 2, 2008 at 2:55 PM, Jon Drukman [EMAIL PROTECTED] wrote: Yonik Seeley wrote: Verify all the fields you want to search on indexed Verify that the query is being correctly built by adding debugQuery=true to the request here is the schema.xml extract: field name=id type=integer