Re: Payload Matching Query

2013-06-22 Thread michal samek
nstead of putting the annotation in Payloads, why not put them in as > > "synonyms", ie at the same spot as the original string (see > SynonymFilter in > > the LIA book). So your string would look like (to the index): > > > > W. A. Mozart was born in Salzburg > &g

Re: Payload Matching Query

2013-06-21 Thread michal samek
e structured, how searching > is > > implemented... Would it be possible? > > > > *Michal > > * > > > > > > 2013/6/20 Brendan Grainger > > > > > Any reason not to have separate artist and city fields? So you would > > search > > > for: &g

Re: Payload Matching Query

2013-06-20 Thread michal samek
t; > > On Thu, Jun 20, 2013 at 12:27 PM, michal samek >wrote: > > > Hi Adrien, > > > > thanks for your reply. If payloads cannot be used for searching, is there > > any workaround how to achieve similar functionality? > > > > What I'd like to ac

Re: Payload Matching Query

2013-06-20 Thread michal samek
Hi Adrien, thanks for your reply. If payloads cannot be used for searching, is there any workaround how to achieve similar functionality? What I'd like to accomplish is to be able to search documents with contents for example "W. A. Mozart[artist] was born in Salzburg[city]" just by specifying th

Payload Matching Query

2013-06-20 Thread michal samek
nding CustomScoreQuery, where subQuery is MatchAllDocsQuery and CustomScoreProvider would evaluate score based on term payloads, but I cant get it working :-/ Could you give me any hints how to do this. Thanks *Michal Samek *