Re: Two field phrase search

2018-11-23 Thread NewMelchizedec sundararaj
ld on, what about FieldMaskingSpanQuery? It's available in > XMLQparser, you may try. > > On Fri, Nov 23, 2018 at 3:37 AM NewMelchizedec sundararaj > wrote: > > > Hi Fellow Searchers, > > > > I am indexing some content (say name) in to two fields with different >

Re: Two field phrase search

2018-11-23 Thread NewMelchizedec sundararaj
'joseph'? > > So, just generically, I would say why not index everything into one > field with analyzer chain keeping both original and prefixed > (EdgeNGrams) forms of the word? Maybe combined with some sort of > post-filter if that over-matches. > > Regards, > Alex. &

Re: Two field phrase search

2018-11-23 Thread NewMelchizedec sundararaj
johnson" > etc.. Just search for name_term:"steve jo*" > > Best, > Erick > On Thu, Nov 22, 2018 at 4:37 PM NewMelchizedec sundararaj > wrote: > > > > Hi Fellow Searchers, > > > > I am indexing some content (say name) in to two fields with differe

Two field phrase search

2018-11-22 Thread NewMelchizedec sundararaj
Hi Fellow Searchers, I am indexing some content (say name) in to two fields with different analyzer chains. One that would do edge prefix and the other regular tokenization. Let me call them name_prefix and name_term When an incoming partial query comes up, like "steve jo", I want the first word