lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Materna, Wolf-Dietrich (empolis B)" <Wolf-Dietrich.Mate...@empolis.com>
Subject AW: definite matching
Date Thu, 24 Oct 2002 10:39:18 GMT
Hello,
[Stray Toaster [mwk@stray-toaster.co.uk] wrote]:
>One more thing, honest!
Did you read the manual
http://jakarta.apache.org/lucene/docs/queryparsersyntax.html ?
It doesn't explain all details, but you can also create a small test index
and try it out.

>If I have a numeric field, will
>+23
>match 23 AND 230 AND 2345 etcetc?
No, it matches only "23". If you want to get all numbers starting with "23"
append a *.

>Or similarly with alphabetic fields, would
>+toast
>match toaster, toasty and toasted? (Or even toast?)
Same answer. You will get only results containing "toast", but not
"toaster".
Beware if you use an analyzer with a stemmer, then the analyzer will handle
"toasted", "toasting" and other forms as "toast".
The StandardAnalyzer doesn't perform stemming, so you'll get, what you need.

>I really need this to match exactly.

Regard,
	Wolf-Dietrich Materna

--
To unsubscribe, e-mail:   <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>


Mime
View raw message