Hello,

I am new to Solr.  I am using v. 6.4.1.  I have what is probably a pretty
simple question.

Let's say I have these documents with the following values in a single
field (let's call it "name"):

sando...@company.example.com
sandb...@company.example.com
sa...@company.example.com
Sancho Landolt
Sanders Greenley
Sanders Massey
Santa Catarina
San Carlos de Bariloche
San Francisco
San Mateo

I would like, if the search query is "San", for Solr to return the
following and only the following:
San Carlos de Bariloche
San Francisco
San Mateo

So basically, I'd like to search based on tokens.  I'd also like Solr to
return an associated score.  So eg, if the user searches "San Francisco",
it should still return the above results, but obviously the score for the
document with "San Francisco" would be much higher.

I've been doing this pretty easily using Lucene from Java, however I'm
unable to figure out how to do it using Solr.

Much thanks

Reply via email to