P
P
Pavel Gogolinsky2016-11-28 13:24:50
Yii
Pavel Gogolinsky, 2016-11-28 13:24:50

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 question

Ask a Question

731 491 924 answers to any question