lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Angelov, Rossen" <>
Subject proximity search not working when extending the QueryParser
Date Mon, 27 Jun 2005 21:06:28 GMT
When I'm using the QueryParser directly, the proximity search works fine and
getPhraseSlop() returns the correct slop int.

The problem is when I extend QueryParser. When extending it, getPhraseSlop
always returns the default value - 0. It's like setPhraseSlop is never

Does anybody know if I have to parse the query, get the slop number and
explicitly call setPhraseSlop to have the proximity working or there is a
completely different way of doing it when extending the QueryParser?


"This communication is intended solely for the addressee and is
confidential and not for third party unauthorized distribution."

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message