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

Mailing List Archive: Lucene: Java-User
Highlighter and Shingles...
 

Index | Next | Previous | View Flat


dawn at digitorial

Apr 20, 2012, 4:58 AM


Views: 255
Permalink
Highlighter and Shingles...

Hi,

Are there any notes on making the highlighter work consistently with a
shingle generated index?
I have a situation where complete matches highlight OK, but partial
matches do not - leading to a number of blank previews...

Our analyser look like:

TokenStream result =
new StopFilter(Version.LUCENE_36,
new ShingleFilter(
new StopFilter(Version.LUCENE_36,
new LowerCaseFilter(Version.LUCENE_36,
new StandardFilter(Version.LUCENE_36,
new
StandardTokenizer(Version.LUCENE_36, reader)
)
),
STOP_CHARS_SET)
),
STOP_WORDS_SET);

--

Rgds.
*Dawn Raison*

Subject User Time
Highlighter and Shingles... dawn at digitorial Apr 20, 2012, 4:58 AM
    RE: Highlighter and Shingles... sarowe at syr Apr 20, 2012, 6:28 AM
    Re: Highlighter and Shingles... dawn at digitorial Apr 21, 2012, 4:36 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.