Hai all,
This is what I did.
IndexReader reader = IndexReader.open(index);
//static final File INDEX_DIR = new File(index);
Directory directory = new RAMDirectory(index);
SpellChecker spellchecker = new SpellChecker(directory);
// To index
20 jan 2007 kl. 14.51 skrev saikrishna venkata pendyala:
Hai all,
This is what I did.
IndexReader reader = IndexReader.open(index);
//static final File INDEX_DIR = new File(index);
Directory directory = new RAMDirectory(index);
SpellChecker
Chris Hostetter wrote:
: so do you convert A ! B ! C into a three clause boolean query, or a two
: clause BooleanQuery that contains another two clause BooleanQuery?
:
: It becomes a three clause boolean query...would there be a difference in
: scoring? I assumed not and it used to make a
: This exchange has caused me to reassess my syntax. It seems that
: QueryParser's handling of A B C -D -E is special because QueryParser
: does not have any operator precedence rules (unless the 1 rule is that
: all operators resolve with the same precedence g). What would appear
there are some
Chris Hostetter wrote:
: This exchange has caused me to reassess my syntax. It seems that
: QueryParser's handling of A B C -D -E is special because QueryParser
: does not have any operator precedence rules (unless the 1 rule is that
: all operators resolve with the same precedence g). What