I want to search with given keyword differently. For example:
If any one searches for “solr search” it must return result both for ‘solr’ and followed by ‘search’ result. How to do it?
I want to search with given keyword differently. For example: If any one searches
Share
Well I think the easiest way is to do it with boolean terms. Just search for “solr OR search” and the results you wanted will be shown. But one thing: Solr will also show you results with both searchterms in it. Don´t know if you want this too.
You can also use the OR operator as your default one. Just open your schema.xml and modify this line:
to