Mailing List Archive

KinoSearch 0.20_03 released
Greets,

A new developer's release of KinoSearch has just been uploaded to
CPAN and rectangular.com.

In addition to the changes enumerated below, this release is
significant in that no further file format modifications are planned,
modulo bugs or unforeseen circumstances.

Highlights:

* Combining filters now possible using PolyFilter.
* Significantly improved indexing speed.
* Better NFS compatibility using LockFactory.

New public classes:

* KinoSearch::Index::IndexReader
* KinoSearch::Posting
* KinoSearch::Posting::ScorePosting
* KinoSearch::Posting::RichPosting
* KinoSearch::Search::PolyFilter
* KinoSearch::Store::Lock
* KinoSearch::Store::SharedLock
* KinoSearch::Store::LockFactory

New/updated documentation:

* KinoSearch::Docs::IRTheory
* KinoSearch::Docs::FileFormat

Removed:

* KinoSearch::Docs::NFS

Renamed:

* KinoSearch::Contrib::LongFieldSim => KSx::Search::LongFieldSim

Classes with API changes:

* KinoSearch::Schema
o %FIELDS must now be spelled %fields (resolving conflict with
Perl core
pragmas base.pm and fields.pm).
o pre_sort() - Added. (experimental)

* KinoSearch::Schema::FieldSpec
o store_pos_boost() - Removed.
o posting_type() - Added. (experimental)

* KinoSearch::Analysis::Analyzer
o analyze() - Removed.
o analyze_batch() - Added.

* KinoSearch::Analysis::Stopalizer
o Now removes stopwords rather than turning them to empty
strings.

* KinoSearch::InvIndex
o get_folder() - Added.
o get_schema() - Added.

* KinoSearch::InvIndexer
o new() - Parameters changed.
* host_id - Removed.
* lock_factory - Added.

* KinoSearch::Highlight::Highlighter
o new() - All arguments removed.
o add_spec() - Added, making it possible to customize multiple
excerpts.

* KinoSearch::Highlight::SimpleHTMLEncoder
o Now uses HTML::Entities::encode_entities, so more entities are
affected.

* KinoSearch::Searcher
o get_reader() - Added.
o set_prune_factor - Added. (experimental)

* KinoSearch::Search::Hits
o Now supports multiple highlighted excerpts per document.
o Excerpts now use key of "excerpts" rather than "excerpt".

* KinoSearch::Search::RangeFilter
o Now supports "open ended searches": all above or all below a
bound.
o new() - Default values added.

Credits:

* Chris Nandor was the driving force behind PolyFilter and Filter,
contributing code, tests, bug reports and bug fixes.
* Patches and failing test cases contributed by Edward Betts, Henry
Combrinck, Simon Cozens, and Peter Karman.

Marvin Humphrey
Rectangular Research
http://www.rectangular.com/