Text search in Solr where the field is the substring of the query

75 Views Asked by At

I'm new to Solr and I'm not fully aware of what it can and can't do.

I'm trying to build a system where the documents will have a field with a string value x, and I want to efficiently query those documents against some string y, where x is a substring of y. It's like the opposite of the usual substring matching queries.

Is this possible to do efficiently in Solr? If not, does limiting x to be a single word and y to only consists of few words helps in anyway?

0

There are 0 best solutions below