lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From liat oren <>
Subject Re: Using Payloads
Date Thu, 23 Apr 2009 06:59:54 GMT
Dear Murat,

I saw your question and wondered how did you implement these changes?
The requirement below are the same ones as I am trying to code now.
Did you modify the source code itself or only used Lucene's jar and just
override code?

I would very much apprecicate if you could give me a short explanation on
how was it done.

Thanks a lot,

2009/4/21 Murat Yakici <>

> Hi,
> I started playing with the experimental payload functionality. I have
> written an analyzer which adds a payload (some sort of a score/boost) for
> each term occurance. The payload/score for each term is dependent on the
> document that the term comes from (I guess this is the typoical use case).
> So say term t1 may have a payload of 5 in doc1 and 34 in doc5. The parameter
> for calculating the payload changes after each indexWriter.addDocument(..)
> method call in a while loop. I am assuming that the
> indexWriter.addDocument(..) methods are thread safe. Can I confirm this?
> Cheers,
> --
> Murat Yakici
> Department of Computer & Information Sciences
> University of Strathclyde
> Glasgow, UK
> -------------------------------------------
> The University of Strathclyde is a charitable body, registered in Scotland,
> with registration number SC015263.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

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