Right, you need those classes from src/test to compile the test case. Just run "ant test -Dtestcase=AnalyzingInfixSuggesterTest" from the lucene/suggest directory.
Also, you cannot pass a "real index" to the suggester: it builds the index itself, when you call the .build method. This index is private to the suggester, an implementation detail; you should never work with its index yourself (you use its APIs instead). Mike McCandless http://blog.mikemccandless.com On Fri, Jul 26, 2013 at 4:45 PM, vonPuh fonPuhendorf <[email protected]> wrote: > that is because they are not in the suggest but in src test folder > > > 2013/7/26 vonPuh fonPuhendorf <[email protected]> > >> using lucene 4.4 >> >> >> 2013/7/26 vonPuh fonPuhendorf <[email protected]> >> >>> Hello i am trying to build the example but TermFreqPayload >>> and TermFreqPayloadArrayIterator are missing from suggest package also how >>> to pass to suggester.build method real index instead of mock words so it >>> can rebuild it. >>> >>> >> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
