You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Leonardo Santagada <sa...@gmail.com> on 2008/01/04 17:16:37 UTC

How the star operator works

 From both lucene and solr docs the star "*" operator used after a  
word should find the word plus 0 or more characters after word.

I have some documents on a solr index (both in type text and string)  
and both don't work like that. For example I have a document called  
Test Document, if I search for Test* it doesn't find this document,  
only if I search for Tes*. For me it appears that it works more or  
less like a "+" on a regex than like a "*" in a regex or wildcard  
search.

What I'm I doing wrong?

[]'s
--
Leonardo Santagada