lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From michal samek <samek.mic...@gmail.com>
Subject Re: Payload Matching Query
Date Sat, 22 Jun 2013 23:06:16 GMT
@Sujit: That's exactly what I'm talking about, I just might not have put it
clearly enough =)

@Uwe: Thanks for inspiration, I'll check it out!


Thanks, everybody!
Michal


2013/6/21 Uwe Schindler <uwe@thetaphi.de>

> You may also be interested in this talk @ BerlinBuzzwords2013:
> http://intrafind.de/tl_files/documents/INTRAFIND_BerlinBuzzwords2013_The-Typed-Index.pdf
>
> Unfortunately the slides are not available.
>
> Uwe
>
> -----
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: uwe@thetaphi.de
>
>
> > -----Original Message-----
> > From: Sujit Pal [mailto:sujitatgtalk@gmail.com] On Behalf Of SUJIT PAL
> > Sent: Friday, June 21, 2013 5:14 PM
> > To: java-user@lucene.apache.org
> > Subject: Re: Payload Matching Query
> >
> > Hi Michael,
> >
> > Instead 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
> > artist                   city
> >
> > so you can query as s:"__artist__ __city__"~slop
> >
> > -sujit
> >
> > On Jun 20, 2013, at 9:27 AM, 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 accomplish is to be able to search documents with
> > > contents for example "W. A. Mozart[artist] was born in Salzburg[city]"
> > > just by specifying the *payload*s [artist] [city].
> > >
> > > Thanks
> > >
> > > *Michal
> > > *
> > >
> > >
> > > 2013/6/20 Adrien Grand <jpountz@gmail.com>
> > >
> > >> Hi Michal,
> > >>
> > >> Although payloads can be used at query time to customize scoring,
> > >> they can't be used for searching. Lucene only allows to search on
> terms.
> > >>
> > >> --
> > >> Adrien
> > >>
> > >> ---------------------------------------------------------------------
> > >> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> > >> For additional commands, e-mail: java-user-help@lucene.apache.org
> > >>
> > >>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> > For additional commands, e-mail: java-user-help@lucene.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message