Questions tagged [highlighter.net]
6 questions
1
vote
1 answer
Highlighter.net returns no matches
I am using lucene.net 2.9.4 and lucene.net contrib 2.9.4 my lucene query looks like:
+contents:umbraco*
I get results for this query. My highlighter code to get fragments looks like:
public string GetHighlight(string value, string highlightField,…

Ismail
- 923
- 2
- 12
- 29
1
vote
0 answers
Lucene.net multi searcher highlight issue
I am using lucene.net 2.9.4 (cannot upgrade atm). I am also making use of highlighter.net from lucene.net contrib. I can get it working fine when i am searching on one index my code looks like:
QueryScorer fragmentScorer = new…

Ismail
- 923
- 2
- 12
- 29
1
vote
3 answers
Return Entire field from GetBestFragment in FastVectorHighlighter
In Highlighter.Net, we can use NullFragmenter to return the entire field content. Is there any way we can do this in FastVectorHighlighter.Net?

Midhat
- 17,454
- 22
- 87
- 114
1
vote
2 answers
FastVectorHighlighter.Net returning null on GetBestFragment
I have a large index, on which Highlighter.Net works fine, but FastVectorHighlighter returns null as a Best Fragment on Some documents.
the searcher works fine. It is just the highlighter. The field has been indexed in the same manner for all…

Midhat
- 17,454
- 22
- 87
- 114
0
votes
2 answers
Lucene HTMLFormatter skipping last character
I have this simple Lucene search code (Modified from http://www.lucenetutorial.com/lucene-in-5-minutes.html)
class Program
{
static void Main(string[] args)
{
StandardAnalyzer analyzer = new StandardAnalyzer();
…

Midhat
- 17,454
- 22
- 87
- 114
0
votes
1 answer
How to highlight an HTML content and save it to the database as per user for future loads
I'm trying to highlight the selected text contents by the user inside the HTML page.I have highlited the text using jquery (dot net). Now I need to save some information to the database that makes me able to highlight the same contents again for…

Ashok Gupta
- 2,247
- 5
- 28
- 34