Lucene now supports *456* type queries, however it requires setting
an attribute to allow leading wildcards on the QueryParser. Solr
does not set this flag (that I can tell in my quick search) so I
don't believe you can do this with Solr currently, until/unless an
option is made to set that flag. However, I just tried with my
dataset and I don't get parse errors from a *foo* query, but I don't
get results either (strange, it seems).
Erik
On Mar 21, 2007, at 2:59 PM, Michael Kimsal wrote:
Hello all:
While I realize this goes against the grain of an indexing server,
is there
any way to do wildcard searching like the following:
Term indexed is 123456789
Searching for *456* would find 123456789
Is there any mechanism to enable or allow for that scenario?
Thanks!
--
Michael Kimsal
http://webdevradio.com