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
<vonpuhfonpuhend...@gmail.com> wrote:
> that is because they are not in the suggest but in src test folder
>
>
> 2013/7/26 vonPuh fonPuhendorf <vonpuhfonpuhend...@gmail.com>
>
>> using lucene 4.4
>>
>>
>> 2013/7/26 vonPuh fonPuhendorf <vonpuhfonpuhend...@gmail.com>
>>
>>> 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: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to