Re: position of the search term

2015-09-28 Thread Alessandro Benedetti
So, based on my knowledge, it is not possible ( except if you customise the component) . Read here : http://lucene.472066.n3.nabble.com/How-do-I-recover-the-position-and-offset-a-highlight-for-solr-4-1-4-2-td4051763.html Another data structure that you can think as useful is to store the Term Vect

position of the search term

2015-09-27 Thread Mark Fenbers
For the brief period that I had spell-checking working, I noticed that the results record had the start/end position within the text of the misspelled word. Is there anyway to get the same start/end position when doing a search? I want to be able to highlight the search term in the text. Def