Re: Technology Preview of new Lucene QueryParser

2007-01-20 Thread Mark Miller
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 ). What woul

Re: Technology Preview of new Lucene QueryParser

2007-01-20 Thread Chris Hostetter
: 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 ). What would appear there are some pr

Re: Technology Preview of new Lucene QueryParser

2007-01-20 Thread Mark Miller
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 b

Re: Re : Spell Checker Index

2007-01-20 Thread karl wettin
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); SpellChecke

Re : Spell Checker Index

2007-01-20 Thread 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 spellchecker = new SpellChecker(directory); // To