Questions tagged [hit-highlighting]

25 questions
9
votes
1 answer

Sunspot highlights not appearing

I've gone through the docs in github: http://github.com/outoftime/sunspot to find solutions for highlighting, but it doesn't seem to work for me. My Job model has something like this block (omitted some fields on purpose): searchable do text…
maricris-sn
  • 158
  • 9
8
votes
4 answers

How to do hit-highlighting of results from a SQL Server full-text query

We have a web application that uses SQL Server 2008 as the database. Our users are able to do full-text searches on particular columns in the database. SQL Server's full-text functionality does not seem to provide support for hit highlighting. Do we…
6
votes
2 answers

Hit Highlighting in Azure Search Service

I am new to Azure Search Service, and I wanted to use the hit highlighting feature of Azure Search Service. I am using the .NET SDK NuGet package for azure search. I used SearchParameter object to mention the hit highlight fields and also the Pre…
Pratik Bhattacharya
  • 3,596
  • 2
  • 32
  • 60
3
votes
2 answers

Azure Search Highlight Partial Match

I have turned Hit Highlighting on and it is working well for entire word matches. But we append a wildcard character at the end of each word the user specifies and highlighting is not working on the partial matches. We are getting the results back,…
77Vetter
  • 209
  • 3
  • 16
3
votes
1 answer

using hit highlighter in lucene

I have two questions regarding hit highlighter provided with apache lucene: see this function could you explain the use of token stream parameter. I have several large lucene document containing many fields and each field has some strings in it.…
Rohit Banga
  • 18,458
  • 31
  • 113
  • 191
2
votes
1 answer

Azure Search highlighting doesn't work for wildcards with scoring profiles

Azure Search supports highlighting with full text search which facilitates clients to locate the matched term in a returned document. I have provided a simple index schema below to illustrate the issue. { "name": "simple-index", "fields": [ { …
2
votes
0 answers

Fulltext search hit-highlighting in combination with a SQL Server 2017

I want to hightlight the search word (hits) in the search results. I use the fulltext search with e.g. where contains(html, 'formsof(INFLECTIONAL, search word)'). How I get the right hits from the SQL server to highlight them in the frontend? I…
Morhinio
  • 21
  • 3
2
votes
3 answers

Azure Search result highlight snippets

I am using the Hit Highlighting feature in Azure Search and noticed a discrepancy in the way it behaves from the documentation. In the documentation it says that when you use hit highlighting it will return a snippet of the field with the…
mynameiscoffey
  • 15,244
  • 5
  • 33
  • 45
2
votes
2 answers

lucene get matched terms in query

What is the best way to find out which terms in a query matched against a given document returned as a hit in lucene? I have tried a weird method involving hit highlighting package in lucene contrib and also a method that searches for every word in…
Rohit Banga
  • 18,458
  • 31
  • 113
  • 191
2
votes
1 answer

Making dtSearch highlight one hit per phrase, rather than one hit per word-in-a-phrase

I'm using dtSearch to highlight text search matches within a document. The code to do this, minus some details and cleanup, is roughly along these lines: SearchJob sj = new SearchJob(); sj.Request = "\"audit trail\""; // the user…
Chris
  • 9,986
  • 8
  • 48
  • 56
2
votes
1 answer

Solr: stemming breaks highlighting

I changed some of my fields from text_general to text_en, hoping to take advantage of stemming and some other improvements, but unfortunately the change has broken highlighting. It seems that it only wants to highlight non-stemmed words (i.e. words…
nvioli
  • 4,137
  • 3
  • 22
  • 38
1
vote
1 answer

Will SQL Server 2012 FTS have native support for hit highlighting?

Sql Server 2008 does not natively support hit highlighting in its FTS functionality, and currently you must implement yourself using a variety of techniques. Microsoft has made some vague noises about including it in future SQL Server releases.…
1
vote
1 answer

Azure Cognitive Search highlight trimming

This is a question for Azure Cognitive Search team. Currently we are constantly facing issues with Hit-Highlighting mechanism in Azure Cognitive Search. Maximum size of the highlight is limited to 1000 characters, and can not be increased using API…
Eramir
  • 482
  • 1
  • 5
  • 18
1
vote
1 answer

Azure Cognitive Search hit highlights for phrase search operator

We are trying to use Azure Cognitive Search to enable full-text search for the documents stored in Azure Blob Storage. One of the features that we need is to show the hit highlights for a particular document. We've noticed that while the search for…
1
vote
1 answer

Azure Search returns extra hit highlights on proximity searches

My proximity searches using Azure Search are working correctly. It returns results where the words specified exist and are within the specified proximity, and doesn't return results where the words are not close enough together. But the hit…
ben
  • 65
  • 6
1
2