John,

Maybe your default search field is set to some field that doesn't have "dell" 
in it.
The default search field is specified in schema.xml.

 Otis
----
Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
Hadoop ecosystem search :: http://search-hadoop.com/



----- Original Message ----
> From: John Ament <my.repr...@gmail.com>
> To: solr-user@lucene.apache.org
> Sent: Fri, March 5, 2010 5:19:33 PM
> Subject: Searching, indexing, not matching.
> 
> Hey
> 
> So I just downloaded and am trying solr 1.4, wonderful tool.
> 
> One thing I noticed, I created a data config, looks something like this:
> 
> 
> 
> url="jdbc:oracle:thin:@..." user="..." password="..."/>
> 
>     
> 
> 
> 
> It loads all of the entries fine.
> 
> I added the following to my schema.xml, to match the above
> 
>     
> stored="true"/>
>     
>     
> 
>     
>     
>     
>     
>     
>     
>     
>     
>     
>     
>     
>     
>     
>     
>     
>     
> 
> Now when I load your default files, I'm able to get search results when I
> run a query like:
> 
> /select/?indent=on&q=dell&wt=json
> 
> now I have text in my data import that includes product_name containing
> "ski" or "copy_field" containing "warm," however, if I run a search for
> either of those, I get no results.
> 
> I don't see anything different between how I index and how the xml files are
> indexed, other than the data in the file being loaded via XML. What I do
> find curious is if I give SOLR the hint of what field to look in, I do get
> results.  So this does return data:
> 
> /select/?indent=on&q=product_name:*ski*&wt=json
> 
> Any ideas?

Reply via email to