[pmwiki-users] TextExtract (Search recipe) update

Hans design5 at softflow.co.uk
Wed Sep 9 08:27:58 CDT 2009


Wednesday, September 9, 2009, 12:23:12 PM, Oliver Betz wrote:

> If this worked, your recipe would make a nice generic search box.

Would it depend on having this feature, i.e.
search term input with true AND logic?

> But highlighting two different words works, e.g. seperated|underneath.

Yes, the terms are found as OR condition.

> Another question: How hard would it be to define the extent of the
> extract not in paragraphs or lines but in words? Some paragraphs are
> too long (e.g. change log, release notes), while others are too short
> to give enough context.

The search could return the whole page (unit=page)
but then have another filtering using a word count
around the found term. Not sure how good it will look
or how easy it will be to implement.

  ~Hans




More information about the pmwiki-users mailing list