lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <>
Subject Re: Wildcards
Date Mon, 21 Jan 2008 22:23:30 GMT
On Jan 21, 2008 5:18 PM, dojolava <> wrote:
> I just started to use solr and I experience strange behaviour when it comes
> to wildcards.
> When I use the StandardRequestHandler queries like "eur?p?an" or "eur*an"
> work fine.
> But "garden?r" or "admini*tion" do not bring any results (without wildcards
> there are some of course).

It's probably stemming.  Something like "gardener" is probably stemmed
to "garden", so
a wildcard query that expects something longer than "garden" won't
find anything.

If you really need more accurate wildcard queries, do a copyField of
this field into another that does not have stemming (perhaps just
whitespace tokenizer and lowercase filter, and maybe stop filter).
Then use this alternate field for wildcard queries.


View raw message