lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Seid Mohammed <seidy...@gmail.com>
Subject why setPhraseSlop() make no diffrence
Date Sun, 03 May 2009 10:31:15 GMT
I have ste the slop for my search to be some terms away for inclusion.
unfortunately, the result is the same indpendent of my setPhraseSlop(int)
usage.
code excerpts:
==================================
QueryParser qp = new QueryParser("content", new AmharicAnalyzer());
    qp.setPhraseSlop(3);
        Query query = qp.parse("word1 word2");
===================================

thanks a lot
seid M.
-- 
"RABI ZIDNI ILMA"

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