lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alessandro Ferrucci" <alessandroferru...@gmail.com>
Subject partial word searches
Date Mon, 09 Jul 2007 03:12:38 GMT
Yo guys,

quick question..I have a pretty simple solr instance running.. the relevant
part of the schema is as such:


    <field name="last-name" type="text" indexed="true" stored="true"/>
    <field name="first-name" type="text" indexed="true" stored="true"/>
    <field name="school-year" type="text" indexed="true" stored="true"/>
    <field name="player-position" type="text" indexed="true" stored="true"/>
    <field name="school" type="text" indexed="true" stored="true"/>
    <field name="conference" type="text" indexed="true" stored="true"/>


I've got stuff indexed fine.  Let's say I do a query as such:

last-name:Anderson

I get 27 records (the correct result), so far so good...

now I want to provide a looser query:

last-name:And*

Now I get 0 results back.....odd..

so I try wtithout regex:

last-name:And

0 results back...

I looked at the Lucene query syntax and from there it looks like it should
just work.... but partial word matching doesn't seem to be working.

Any clues?

Thanks all

--
alessandro ferrucci

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message