On 6/21/13 11:18 AM, Uwe Schindler wrote:
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
I've been wondering why we seem to handle case- and
;
>
> > -Original Message-
> > From: Sujit Pal [mailto:sujitatgt...@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,
> >
> > I
...@thetaphi.de
> -Original Message-
> From: Sujit Pal [mailto:sujitatgt...@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 anno
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 ca
Eventualy, I have choosen yet another solution. I work with those
"payloads" as with synonyms. In my TokenFilter with every occurence of
token with "payload", I inject new term - containing this "payload" with
zeroed PossitionIncrementAttribute. It solves nearly all my issues =)
Thanks everyone fo
There are several ways to implement it :
Query as you mentioned. You'd need to implement a Scorer which traverses
the posting list where the payload exists. The methods you should implement
are nextDoc() and advance(). You'll also need to traverse
DocsAndPositionsEnum.
A Filter. That's somewhat e
Well, with this solution you won't be able to search for near occurences of
payloads - as with NearSpanQueries :-/ I just need to store some searchable
data with terms, not with documents.
But why not implement totally new Query? I'm very new to Lucene, so I've
got no idea what it involves, how in
Any reason not to have separate artist and city fields? So you would search
for:
artist:(W. A. Mozart) city:Salzburg
HTH
Brendan
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
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
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-unsubscr...@lucene.apache.org
Fo
10 matches
Mail list logo