OK, I've played with all this solutions and basically only one gave me
satisfying results. Using build()
with TermFreqPayload argument gave me horrible performance, because it
takes more than 5 mins
to iterate through all Terms in the index and to filter them based on the
doc id. Not sure if this n
On Sat, Mar 16, 2013 at 7:47 AM, Bratislav Stojanovic
wrote:
> Hey Mike,
>
> Is this what I should be looking at?
> https://builds.apache.org/job/Lucene-Artifacts-trunk/javadoc/suggest/org/apache/lucene/search/suggest/analyzing/package-summary.html
>
> Not sure how to call build(), i.e. what to pa
013 7:29 AM
To: java-user@lucene.apache.org
Subject: Re: Getting documents from suggestions
Hey Jack,
I've tried MoreLikeTHis, but it always returns me 0 hits. Here's the code,
it's very simple :
// test2
Index lucene = null;
try {
lucene = new Index();
MoreLikeThis mlt = new More
Hey Mike,
Is this what I should be looking at?
https://builds.apache.org/job/Lucene-Artifacts-trunk/javadoc/suggest/org/apache/lucene/search/suggest/analyzing/package-summary.html
Not sure how to call build(), i.e. what to pass as a parameter...Any
examples?
Where to specify my payload (which is
Hey Jack,
I've tried MoreLikeTHis, but it always returns me 0 hits. Here's the code,
it's very simple :
// test2
Index lucene = null;
try {
lucene = new Index();
MoreLikeThis mlt = new MoreLikeThis(lucene.reader);
mlt.setAnalyzer(lucene.analyzer);
Reader target = new StringReader("apache");
Quer
gestion is X, do you simply want to know a few of the
> >> documents which have the highest term frequency for X?
> >>
> >> Or is there some other term-oriented metric you might propose?
> >>
> >>
> >> -- Jack Krupansky
> >>
> >> -Or
y want to know a few of the
>> documents which have the highest term frequency for X?
>>
>> Or is there some other term-oriented metric you might propose?
>>
>>
>> -- Jack Krupansky
>>
>> -Original Message----- From: Bratislav Stojanovic
6:14 PM
> To: java-user@lucene.apache.org
> Subject: Re: Getting documents from suggestions
>
>
> Wow that was fast :)
>
> I have implemented a simple search box with auto-suggestions, so whenever
> user
> types in something, ajax call is fired to the SuggestServlet
Sent: Thursday, March 14, 2013 6:14 PM
To: java-user@lucene.apache.org
Subject: Re: Getting documents from suggestions
Wow that was fast :)
I have implemented a simple search box with auto-suggestions, so whenever
user
types in something, ajax call is fired to the SuggestServlet and in return
10 sugges
Wow that was fast :)
I have implemented a simple search box with auto-suggestions, so whenever
user
types in something, ajax call is fired to the SuggestServlet and in return
10 suggestions
are shown. It's working fine with the SpellChecker class, but I only get
array of Strings.
What I want is t
If you are using AnalyzingSuggester or FuzzySuggester than you can use
its new payloads feature to store an arbitrary byte[] with each
suggestion:
https://issues.apache.org/jira/browse/LUCENE-4820
But this won't help if you're using spell checker ...
Mike McCandless
http://blog.mikemccandle
Could you give us some examples of what you expect? I mean, how is your
suggested set of documents any different from simply executing a query with
the list of suggested terms (using q.op=OR)?
Or, maybe you want something like MoreLikeThis?
-- Jack Krupansky
-Original Message-
From:
12 matches
Mail list logo