Solr query to return phrase without using shingle field

63 Views Asked by At

I have a solr index that contains a text field with approximately 1000 words per document.
i want to do a query or facet that will return only part of the text field.
for example:

text_field = ["this is the important question from this site"]

and i want to make a query that will return only the "important question" out of the "important" search.
this is because some of the text fields contain other "coupling" to the word important and i want to get them also.

i know about the shingle usage but i don't want to "pay" the disk cost on indexing part of the text.

0

There are 0 best solutions below