Answer the question
In order to leave comments, you need to log in
Is it possible to crop text correctly using Lucene Zend?
Who did the search using Lucene, tell me how to crop the text in the search results so that the highlighted search phrases remain in it. Let me explain. The search goes by the title and description of the category. The description can be very large and in the search results it needs to be cut off. But you need to cut off the piece of text in which the search word is present, and not just the first 100 characters.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question