lucene-solr-user mailing list archives

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

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>
- <doc>
  <str name="title">Black Dog</str>
  </doc>
- <doc>
  <str name="title">TACO DOG DIES</str>
  </doc>
- <doc>
  <str name="title">Humping Dog</str>
  </doc>
- <doc>
  <str name="title">Must Love Dogs - 2</str>
  </doc>
- <doc>
  <str name="title">Dog Dayze</str>
  </doc>

Which is greate.... BUT

When I search
Q=title:"dog%20da*"

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




Any clue to what am I missing?

TIA,

Gal Nitzan






Mime
View raw message