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
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.
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
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
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
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