lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: AnalyzingInfixSuggester
Date Sat, 27 Jul 2013 10:34:31 GMT
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
<vonpuhfonpuhendorf@gmail.com> wrote:
> that is because they are not in the suggest but in src test folder
>
>
> 2013/7/26 vonPuh fonPuhendorf <vonpuhfonpuhendorf@gmail.com>
>
>> using lucene 4.4
>>
>>
>> 2013/7/26 vonPuh fonPuhendorf <vonpuhfonpuhendorf@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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message