You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by sreelalsl <sr...@huawei.com> on 2010/09/20 07:10:30 UTC

Solr HighLighting With wildcard is effected only for Text and String types

HI .. 

As per the SolrIndexSearcher.getStoredHighlightFieldNames  it will return
only Text and String fields. 
This method is used in HighLight component to get the FieldNames if hl.fl=*
.

So if i use hl.fl=* , fileds of other types(eg: slong or custom types ) will
not be highlighted.  
But we can highlight the slong field if we directly specify 
hl.fl=slongfieldname

Is there any reason this is done like this. Whether the check  ( type
instaceof text || type instanceof string)  is required in
getStoredHighlightFieldNames  

Thanks...

-- 
View this message in context: http://lucene.472066.n3.nabble.com/Solr-HighLighting-With-wildcard-is-effected-only-for-Text-and-String-types-tp1527078p1527078.html
Sent from the Solr - Dev mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org