lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aad Nales <>
Subject Re: retrieving Payload 3.0.1
Date Wed, 09 Jun 2010 04:38:11 GMT
Hi Rebecca,

Thanks a lot for your reply. It sounds like a very solid alternative.
What i miss is how you do the highlighting. Suppose that i would
search for 'strong tea'  and this would result in a hit on 'black tea'
. Where strong is an synonym to black. How do you create a highlighter
for that?


> Hope that helps,
> bec :)
> Sent from my iPhone
> On 08/06/2010, at 3:19 PM, Aad Nales <> wrote:
> Hi All,
> I storing synonyms in an index. e.g. 'institute' as a synonym for
> 'organization'. Since I want to highlight the orginal term when
> showing the result i am storing a Payload with each synononym. So in
> this case the term 'institute' has a payload for 'organization'. I
> execute a search and the document is found. Now i want to create the
> highlighting and here is where it goes wrong. I am unable to figure
> out how to 'read' the Payload from the document. Perhaps i am looking
> at it the wrong way? What i want to avoid is having to expand my
> search query with the synonyms. Is there anybody who could give me a
> hint how to go about this in lucene 3.0.1
> tia,
> Aad
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message