Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: Java-User
get original term for synonym
 

Index | Next | Previous | View Flat


matthijs at impressie

Nov 12, 2007, 6:54 AM


Views: 1021
Permalink
get original term for synonym

Hi there,

Currently I am trying to get synonyms to work. I have gotten as far as
injecting them into the index as Token.type SYNONYM. Lucene then finds
the original word and synonym and points to the same document. So far so
good.

However, I am stuck at highlighting the result. I have highlighters of
my own that currently need an array of words to highlight. Extraction is
done from the query, but the query gives the synonym, instead of the
word it points to. Therefore highlighting is incorrect (or rather
non-existent). Is there a simple way to make the synonym return the word
it points to?

Thank you in advance,
Matthijs Bierman
(Netherlands)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe[at]lucene.apache.org
For additional commands, e-mail: java-user-help[at]lucene.apache.org

Subject User Time
get original term for synonym matthijs at impressie Nov 12, 2007, 6:54 AM
    Re: get original term for synonym markharw00d at yahoo Nov 12, 2007, 7:49 AM
        Re: get original term for synonym matthijs at impressie Nov 14, 2007, 3:51 AM
    Re: get original term for synonym markharw00d at yahoo Nov 14, 2007, 5:10 AM
        Re: get original term for synonym matthijs at impressie Nov 15, 2007, 6:13 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.