Questions tagged [fast-vector-highlighter]

9 questions
2
votes
1 answer

Return position and highlighting of search queries in Elasticsearch

I am using the official Elasticsearch-PHP client installed on a personal Debian server, and what I am trying to do involves indexing, searching and highlighting individual documents. i.e. each search result will only return one document - which will…
2
votes
0 answers

Elastic Search FVH highlights the smallest matching token

Settings: { "settings": { "analysis": { "analyzer": { "idx_analyzer_ngram": { "type": "custom", "filter": [ "lowercase", "asciifolding", "edgengram_filter_1_32" …
2
votes
1 answer

FastVectorHighlighter phrase highlighting not working with stemming

Attempting to write a stemmer in storing both the stem and the original word have caused some problems with getting phrases to highlight using the FastVectorHighlighter. The input string is foo bar baz with ba being the stem of bar. Below image…
Johan Sjöberg
  • 47,929
  • 21
  • 130
  • 148
1
vote
0 answers

Lucene.Net FastVectorHighlighter with fine-grained Chinese segmentation tool doesn't work

enter image description here the error is: System.ArgumentOutOfRangeException: Index and length must refer to a location within the string. Parameter name: length at System.String.Substring(Int32 startIndex, Int32 length) at…
xiaokang
  • 98
  • 1
  • 8
1
vote
1 answer

Lucene MultiFieldQueryParser and Highlighter

I am indexing articles in lucene index through different fields i.e. title, description, link, publishDate I query the index using MultiFieldQueryParser like +(title:[text]^5.0 description:[text]^4.0 link:[text]^3.0) +publishDate:[20150101 TO…
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
0 answers

How to ignore tf-idf in Elasticsearch Fast Vector Highlighter scoring

I need to use the Fast Vector Highlighter in Elasticsearch, and I would like to remove the tf-idf from the scoring of the documents. I would like to rank documents based just on boost values if that's possible. For example, I would like to rank…
0
votes
1 answer

FastVectorhighlighter with External Database

I am using Lucene.NET 2.9 with one of my projects. I am using Lucene to create indexes for documents and search on those documents. A field in my document is text heavy and I have stored that into my MS SQL Database. So basically I search via lucene…
Naveen
  • 1,067
  • 2
  • 14
  • 36