lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gal Nitzan" <>
Subject simple query
Date Wed, 25 Apr 2007 11:04:56 GMT

I'm new to Solr...

I'm trying to create an Auto Complete combo which is based on results from 
Solr but I ran into a few problems which are related to the query.

The Schema field is:

<field name="title" type="text" indexed="true" stored="true"/>

What I try to do:
Q=title:"d*" # get all title which has the letter d followed by anything
Q=title:"do*" #get all titles that has the letters do followed by anything
Q=title:"dog*" get all titles with dog .....
Q=title:"dog%20*" ... returns
- <doc>
  <str name="title">My Dog</str>
- <doc>
  <str name="title">Black Dog</str>
- <doc>
  <str name="title">TACO DOG DIES</str>
- <doc>
  <str name="title">Humping Dog</str>
- <doc>
  <str name="title">Must Love Dogs - 2</str>
- <doc>
  <str name="title">Dog Dayze</str>

Which is greate.... BUT

When I search

<result name="response" numFound="0" start="0" />

Any clue to what am I missing?


Gal Nitzan

View raw message