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: FuzzyQuery - prefixLength - use with QueryParser?
Date Mon, 17 Dec 2007 15:06:22 GMT

On Dec 17, 2007, at 3:31 AM, Helmut Jarausch wrote:
> FuzzyQuery (in the 2.2.0 API) may take 3 arguments,
> term , minimumSimilarity and prefixLength
>
> Is there any syntax to specify the 3rd argument
> in a query term for QueryParser?
> (I haven't found any the current docs)


No, there isn't.  But you can set it via the API, see  
QueryParser#setFuzzyPrefixLength(int)

	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