yes. I need infixsuggester to show suggests on comments only for one
specific postid but otherwise contain the whole  posts, but after thinking
about it ,might just use filter on postid?
1. will this be expensive operation, a bit of overkill just for 1 postid.
among 10000s

2. i have to make infixsuggester to index

(String term, long v, BytesRef payload, BytesRef2 payload) with being

new TermFreqPayload(doc.get("contents"), 3, new
BytesRef(doc.get("postId")), new BytesRef2(doc.get("commentId")) and then
just filter on postid.

Wanted to use blockjoinquery because there will be more fields not just
contenent. does this become complicated, something that infixsuggester
doesnt build to do?



2013/8/15 Michael McCandless <luc...@mikemccandless.com>

> Sorry, I'm not following what you're trying to do.
>
> It sounds like you want to tweak AnalyzingInfixSuggester to somehow
> use BlockJoinQuery based on the comments in your user's posts?
>
> Can you give more of a big picture here?
>
> Mike McCandless
>
> http://blog.mikemccandless.com
>
>
> On Thu, Aug 15, 2013 at 1:55 AM, vonPuh fonPuhendorf
> <vonpuhfonpuhend...@gmail.com> wrote:
> > want to use the infix suggester but instead to create different index for
> > every  postid (which was initial consideration - not very wise one :)) I
> > want to create one index containing all the information about the postsid
> > and every comment and for every to suggest matches only for a specific
> > postid. any direction?
> >
> >
> > 2013/8/15 vonPuh fonPuhendorf <vonpuhfonpuhend...@gmail.com>
> >
> >> but if i want to make this a suggester will be a hard case isnt 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