Problem: I have movie information in solr. Two string fields define the name of the film and the name of the director. The copy field defines another field for which solr performs a default search.
I would like to have google as a limited scope search as follows. How to achieve this.
1) How to search for solr file for contains
eg. a) If the director’s name is “John Cream,” joh searches will return nothing. However, a search query for John returns the correct result.
b) If the name of the movie is aaabbb and the other is aaa , aaa searches return only one result. I need to return both results.
2) How to register spelling
eg. If the director’s name is “John Cream,” Jon’s search yields no results. Is there a good sound idea (soundex) for solr. If so, how to enable it?
You can use solr request syntax
source
share