Simple Searching Question

2008-08-14 Thread Jake Conk
Hello, I inserted the following documents into Solr: --- add doc field name=id124/field field name=foobar_facetJake Conk/field /doc doc field name=id125/field field name=foobar_facetJake Conk/field /doc

Re: Simple Searching Question

2008-08-14 Thread Shalin Shekhar Mangar
Hi Jake, What is the type of the foobar_facet field in your schema.xml ? Did you add foobar_facet as the default search field? On Fri, Aug 15, 2008 at 3:13 AM, Jake Conk [EMAIL PROTECTED] wrote: Hello, I inserted the following documents into Solr:

Re: Simple Searching Question

2008-08-14 Thread Jake Conk
Hi Shalin, foobar_facet is a dynamic field. Its defined in my schema like this: dynamicField name=*_facet type=string indexed=true stored=true/ I have the default search field set to text. Can I use more than one default search field? defaultSearchFieldtext/defaultSearchField Thanks, - Jake

Re: Simple Searching Question

2008-08-14 Thread Rob Casson
you're likely not copyField-ing *_facet to text, and we'd need to see what type of field it is to see how it will be analyzed at both search/index time. the default schema.xml file is pretty well documented, so you might want to spend some time looking thru it, and reading the commentslots of

Re: Simple Searching Question

2008-08-14 Thread Jake Conk
Rob, Actually I am copying *_facet to text. I have the following for copyField in my schema: copyField source=*_t dest=text/ copyField source=*_facet dest=text/ This is my field configuration in my schema: fields field name=id type=string indexed=true stored=true required=true /