You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Seid Mohammed <se...@gmail.com> on 2009/05/03 12:31:15 UTC

why setPhraseSlop() make no diffrence

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"