lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathaniel Grove <>
Subject Difficulties with Highlighting
Date Tue, 27 Jul 2010 19:43:57 GMT
I'm a relative beginner at SOLR, indexing and searching Unicode Tibetan 
texts. I am trying to use the highlighter but it just returns, empty 
elements, such as:

    <lst name="highlighting">
        <lst name="kt-d-0103-text-v4p262a"/>

What am I doing wrong?

The query that generated that is:*%2Cscore&qt=standard&wt=standard&hl=true&hl.fl=pg_bo&hl.snippets=50

The hit is in the multivalued field named "pg_bo" and in a doc with that 
id #. I've looked at the various highlighting parameters (not that I 
fully understand them) and tried fiddling with those but nothing helped. 
I did notice that if you change the hl.fl=*. Then you get the type field 

<lst name="highlighting">
    <lst name="kt-d-0103-text-v4p262a">
       <arr name="type">

But that's not much help. We are using a custom Tibetan tokenizer for 
the Unicode Tibetan text fields. Would this have something to do with it?

Any suggestions would be appreciated!

Thanks for your help,

Than Grove

Nathaniel Grove
Research Associate & Technical Director
Tibetan & Himalayan Library
University of Virginia

View raw message