lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: regex expressions within phrase queries
Date Wed, 27 Feb 2008 02:00:15 GMT

: Thanks for the advice Chris.  What I am working on now is extracting the
: matching phrases.  The current code for MultiPhraseQuery and SpanQueries
: just return all matching terms, not matching phrases.  I implemented some
: code matching up the TermPositions, but this is pretty slow.  Is there any
: way to actually get the matching phrases more efficiently?

Uh ... i'm really not sure what you mean.  a (Multi)PhraseQuery or a 
SpanNearQuery will in ensure that the terms appear as a "phrase" within 
the specified amount of slop .. what exactly isn't working for you?

can you write it as a unit test?

-Hoss


---------------------------------------------------------------------
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