lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: Re[2]: exact match
Date Tue, 05 Apr 2005 10:06:55 GMT

On Apr 5, 2005, at 5:44 AM, Yura Smolsky wrote:
> EH> On Apr 4, 2005, at 4:34 PM, Yura Smolsky wrote:
>>> Hello, java-user.
>>>
>>> I have documents with tokenized, indexes and stored field. This field
>>> contain one-two words usually. I need to be able to search exact
>>> matches for two words.
>>> For example search "John" should return documents with field
>>> containing "John" only, not "John Doe" or "John Foo".
>>>
>>> Any ideas?
> EH> Use an untokenized field to search on in the case of finding an 
> exact
> EH> match.
>
> And no other ways to reach this?

Not that I know of.  Could you give us a more concrete example of what 
you're trying to achieve?

	Erik


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message