patrickfrey / strus

Library implementing the storage and the query evaluation for a text search engine. It uses on a key value store database interface to store its data. Currently there exists an implementation based on the google LevelDB library.
http://www.project-strus.net
Mozilla Public License 2.0
47 stars 1 forks source link

missing a simple summarizer #82

Open andreasbaumann opened 7 years ago

andreasbaumann commented 7 years ago

something just highlighting the hits and doing a little bit of abstraction.

Imagine a 'title' and an 'author' field and a query 'Shakespeare':

**Shakespeare**, William, 1564-1616 The Complete Works of William **Shakespeare**

for the CLI mode mainly.

The supplied summarizers are either too internal (list maatches) or far too sophisticated (phrase).

patrickfrey commented 7 years ago

You can use the 'matchphrase' summarizer. It has reasonable default settings.