Questions tagged [solr-highlight]

10 questions
3
votes
0 answers

Solr highlighting to include hyphenated results returned by search

Is there a way to get Solr to highlight the match if it includes hyphens? In the image below, the search was 1600 and Solr highlighted the exact match. However, the search also matched on 16-00 but it was not highlighted. These are product sku's…
jk.
  • 14,365
  • 4
  • 43
  • 58
2
votes
1 answer

Highlighting issue with solr 8.2

Partial highlighting for solr 8.2 is not working fine for me. I am able to do a partial search by using NGramTokenizerFactory. But the highlight dosen't seems to be working now. Here is Field type defination:
Yugank Pant
  • 88
  • 1
  • 4
2
votes
1 answer

Customization with PostingsSolrHighlighter

I'm using PostingsSolrHighlighter, with default params, and it seems to be giving good results. My use case is to search text paragraphs against the full doc and get relevant snippets, and this highlighter does give most close paragraphs from…
pka
  • 183
  • 6
  • 13
1
vote
1 answer

How to highlight the longest solr token

I'm trying to highlight the exact search term from a query, but the highlighted term is coming back as the shortest token from my tokenized field. For example, a query of "Entr" would result in highlighting Ent ry. I'd like the highlighting to…
1
vote
2 answers

Solr Highlight matching query terms

I am using Solr to do a fuzzy search (e.g., foo~2 bar~2). Highlighting allows me to highlight matching document fragments from the resultset. For example: Result 1: food bars Result 2: mars bar and so on. For each match…
Salil
  • 1,739
  • 2
  • 15
  • 25
1
vote
0 answers
0
votes
1 answer

Highlight Matched Text for query term in solr

I have solr jetty 5.1.3 installed and indexed more than 15000 documents using tika. I have indexed and stored doc published date and content in SOLR. I have enable highlighted in solrConfig.xml, Here is the xml of request handler for highlighted…
Abdul Rauf
  • 763
  • 2
  • 8
  • 28
0
votes
2 answers

Solr highlighting for external fields

I would like to use Solr highlighting, but our documents are only indexed and not stored. The field values are found in a separate database. Is there a way to pass in the text to be highlighted without Solr needing to pull that text from its own…
Charles
  • 365
  • 3
  • 13
0
votes
1 answer

SOLR - highlight searching text ? Is this possible

I'm beginning with SOLR so please don't flame me if this question is stupid or something like this. I was reading solr documentation and found out that there is something called "highlight". I have really simple…
user3353393
  • 139
  • 3
  • 12
0
votes
1 answer

Highlighting not working: NullPointerException in HighlightComponent.process() line 139

Trying to get simple highlighting working in Solr 4.7.2. I am building off the standard solrconfig.xml provided in the examples. I have doctored up the /select request handler as such:
CodeChimp
  • 8,016
  • 5
  • 41
  • 79