Re: Getting documents from suggestions

2013-03-14 Thread Bratislav Stojanovic
estions based on some value from the indexed field? > I have a stored 'id' field in my index and I want to use that to examine > documents > where the suggestion was found, but how to get Document from suggestion? > Spe

Re: Getting documents from suggestions

2013-03-14 Thread Bratislav Stojanovic
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 > > -Original Message- From: Bratislav Stojanovic > Sent: Thursday, March 14, 2013

Re: Getting documents from suggestions

2013-03-15 Thread Bratislav Stojanovic
h, then compile. > > Steve > > On Mar 14, 2013, at 6:43 PM, Bratislav Stojanovic > wrote: > > > Not few of them, I want to know them all. Then I want to iterate through > > them and remove ones > > that doesn't have id that matches my criteria. In other words, if

Re: Getting documents from suggestions

2013-03-16 Thread Bratislav Stojanovic
like(int) and passing Doc. Id. but same thing. On Thu, Mar 14, 2013 at 10:45 PM, Jack Krupansky wrote: > 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 (usin

Re: Getting documents from suggestions

2013-03-16 Thread Bratislav Stojanovic
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.mikemccandless.com > > On Thu, Mar 14, 2013 at 5:36 PM, Bratislav Stojanovic > w

Re: Getting documents from suggestions

2013-03-22 Thread Bratislav Stojanovic
ng field from the index)? > > build() takes a TermFreqPayload iterator, which iterates over the > weight/input text/payload that you provide. > > Have a look at AnalyzingSuggesterTest, eg testKeywordWithPayloads. > > Mike McCandless > > http://blog.mikemccandless.com > > - > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > > -- Bratislav Stojanovic, M.Sc.