lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jack Krupansky" <>
Subject Re: [PhraseQuery] Can "jakarta apache"~10 be searched by offset ?
Date Tue, 07 May 2013 05:09:50 GMT
Do you mean the raw character offsets of the starting and ending characters 
of the terms?


Although, if you index the text as a raw string, you might be able to come 
up with a regex query like "jakarta.{1,10}apache"

-- Jack Krupansky

-----Original Message----- 
From: wgggfiy
Sent: Monday, May 06, 2013 11:39 PM
Subject: [PhraseQuery] Can "jakarta apache"~10 be searched by offset ?

As I know, the syntax *"jakarta apache"~10*, which is a PhraseQuery with a
slop=10 in position, but What I want is *based on offset* not on position?
Anyone can help me ? thx.

View this message in context:
Sent from the Lucene - Java Users mailing list archive at 

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

View raw message