lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomaz Kveder <to...@cmok.si>
Subject Getting all search words relevant for the document to be found
Date Mon, 20 Jan 2014 15:06:39 GMT
Hi!

I need a little help from you. 

We have complex documents stored in database. On the page we show them from
database. We index them and not store them in Solr. So we can't use Solr
Highlighter. But still we would like to highlight the search words found in
the document. What approach would you suggest? 

Our approuch and idea is hidden in this basic question:
Is it possible to get the list of all search words with which the specific
document was found (with all the language varieties of the word). 

Let me explain what I mean with simplefied example. We index the sentence:
"The big cloud is verry dark". User puts these two words in search box:
"clouds" "dark" "rain". 

Can I get from Solr that that particular document was found because of words
"cloud" and "dark". So we can highlight them in the content. 

Ofcourse we can highlight the exact words user putted in search filed. But
that's not enough. We woul also like to highlight all the language varieties
that the document was found on.

Thanks!

Best regards,

Tomaz



Mime
View raw message