FAQ
Hi,

I would like to know how to do the following using Lucene:
I index some file containing a string "king of spades" using stop analyzer.
The analyzer filters out "of" in the above string since it is not useful for searching
and indexes king and spades.
Its fine till this point.

Now i would like to search for the same string "king of spades".
My questions are,
1. If i want to generate a PhraseQuery from the QueryParser using StopAnalyzer, what should be done?
2. If i want to generate a FuzzyQuery from the QueryParser using StopAnalyzer, what should be done?

thanks for any help,

regards,
==Rahul==
-------------------------------------------
rahul.sawhney@philips.com
Ph: 5579000 Extn: 1029
-------------------------------------------



--
To unsubscribe, e-mail:
For additional commands, e-mail:

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 1 | next ›
Discussion Overview
groupjava-user @
categorieslucene
postedNov 24, '01 at 10:33a
activeNov 24, '01 at 10:33a
posts1
users1
websitelucene.apache.org

1 user in discussion

Rahul Sawhney: 1 post

People

Translate

site design / logo © 2022 Grokbase