[TYPO3-Solr] Search scoring based on position of word in the text

Michal Cygankiewicz mc at amtsolution.pl
Thu Jul 14 08:50:48 CEST 2016


Is it possible to score records based on where the search term is positioned in the text? Below example (user is searching for term 'brand' in that case):

1) If a word is alone in the field it have to be first in the sort list. "Brand"
2) If the word is in the beginning of the title it have to be next. "Brand something something something"
3) Then where the word is in the middle of the title. "Something something something brand something"
4) Then where it is a part of the word "Something something Brands something something"


More information about the TYPO3-project-solr mailing list