Мои документы Solr состоят из информации, как описано ниже:
{
"rid":0,
"resourceName":"cd05",
"metadata":"[u'org.apache.tika.parser.DefaultParser', u'org.apache.tika.parser.txt.TXTParser']",
"content":"\n\n\n\n\n\n\n\n\nFurthermore , as an encouragement to revisionist thinking , it manifestly is fair to admit that any fraternity has a constitutional right to refuse to accept persons it dislikes . The Unitarian clergy were an exclusive club of cultivated gentlemen -- as the term was then understood in the Back Bay -- and Parker was definitely not a gentleman , either in theology or in manners . Ezra Stiles Gannett , an honorable representative of the sanhedrin , I see not how a miracle proves a doctrine '' .\n",
"_version_":1626177165603110912
}
Я ищу контент и хочу использовать функцию выделения в Solr.Моя строка поиска http://localhost:8983/solr/core_name/select?hl.fragsize=10&hl.fl=content&hl=on&indent=on&q=content:*fair\%20to\%20admit*&wt=json
.Несмотря на предоставление fragsize в качестве параметра, я выделяю целые content
.Мне нужно только 10 символов рядом, а не весь текст.
Как я могу добиться этого?