You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Re...@bloglines.com on 2004/05/29 01:12:45 UTC
Exact Field Match
Hi,
Does Lucene have support for exact field match? Is there a way to
say that this field equals exactly this value? I know I can do it by using
an untokenized field. But I have some values that I would want to store in
both tokenized and untokenized copies of the same field. Instead of doing
that I'm just storing the tokenized version.
For example:
MyField = "My
value."
I want to search where "My value." is the exact match for this
field but I also sometime want to do a containing search so that just a query
for "value" matches.
I'm planning on extracting the stored value and
comparing it to see if its an exact match. If you have a better idea please
send it my way!
Thanks,
Reece
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org