text_indexing 0.10.0 text_indexing: ^0.10.0 copied to clipboard
Dart library for creating an inverted index on a collection of text documents.
0.10.0 (PRE-RELEASE) #
Breaking changes:
TextIndexerBase
default generative constructor is no longer markedconst
as it has a method body that initializes listeners toTextIndexer.documentStream
andTextIndexer.collectionStream
.
New:
- Input stream fields
TextIndexer.documentStream
andTextIndexer.collectionStream
added toTextIndexer
interface.- - Optional named parameter
Stream<Map<String, Map<String, dynamic>>>? collectionStream
added to added toTextIndexer.async
,TextIndexer.inMemory
andTextIndexer.index
factory contructors.
Updated dependencies, tests, examples and documentation.
0.9.0 (PRE-RELEASE) #
Breaking changes:
- Renamed
InvertedPositionalZoneIndex
interface toInvertedIndex
. - Renamed
TextIndexer.instance
factory toTextIndexer.index
. - Parameter
dictionaryLengthLoader
added toAsynCallbackIndex
constructor; - Parameter
dictionaryLengthLoader
added toAsyncIndexer
constructor; - Parameter
dictionaryLengthLoader
added toTextIndexer.async
factory constructor; - Removed class
InMemoryIndexer
, use factory constructorTextIndexer.inMemory
in stead. - Removed class
AsyncIndexer
, use factory constructorTextIndexer.async
in stead.
New:
- Type definition
FtdPostings
. - Type definition
IdFtIndex
. - Type definition
IdFt
. - Type definition
ZoneWeightMap
. - Field getter
Future<int> InvertedIndex.vocabularyLength
. - Field getter
Future<int> Function() AsynCallbackIndex.dictionaryLengthLoader
; - Field getter
int InvertedIndex.phraseLength
. - Field getter
ZoneWeightMap InvertedIndex.zones
. - Optional named parameter
ZoneWeightMap zones
added toTextIndexer.async
factory. - Optional named parameter
ZoneWeightMap zones
added toTextIndexer.inMemory
factory. - Method
Future<FtdPostings> InvertedIndex.getFtdPostings(Iterable<Term>, int)
. - Method
Future<IdFtIndex> InvertedIndex.getIdFtIndex(Iterable<Term>)
. - Method
Future<Dictionary> InvertedIndex.getTfIndex(Iterable<Term>)
.
Updated dependencies, tests, examples and documentation.
0.8.0+1 (PRE-RELEASE) #
Updated dependencies
0.8.0 (PRE-RELEASE, BREAKING CHANGES) #
Breaking changes:
- Implementation of
TextIndexer.indexText
changed to also insert postings for every pair of terms in the source text.
Updated dependencies, tests, examples and documentation.
0.7.2+1 (PRE-RELEASE) #
Updated dependencies
0.7.2 (PRE-RELEASE) #
Updated dependencies
0.7.1 (PRE-RELEASE) #
Updated dependencies
0.7.0 (PRE-RELEASE, BREAKING CHANGES) #
Breaking changes:
- Renamed
Postings.documents
extension method toPostings.docIds
.
New:
- Extension method
Set<DocId> containsAll(Iterable<Term>)
- Extension method
Set<DocId> containsAny(Iterable<Term>)
Updated dependencies, tests, examples and documentation.
0.6.0 (PRE-RELEASE, BREAKING CHANGES) #
Breaking changes:
- Changed signature of extension method
Postings.termPostingsList(Term)
toPostings.termPostingsList([Iterable<Term>?])
. - Removed field
InMemoryIndexer.dictionary
. UseInMemoryIndexer.index.dictionary
instead. - Removed field
InMemoryIndexer.postings
. UseInMemoryIndexer.index.postings
instead. - Removed method
TextIndexer.upsertDictionary
. UseTextIndexer.index.upsertDictionary
instead; - Removed method
TextIndexer.getDictionary
. UseTextIndexer.index.getDictionary
instead; - Removed method
TextIndexer.getPostings
. UseTextIndexer.index.getPostings
instead; - Removed method
TextIndexer.upsertPostings
. UseTextIndexer.index.upsertPostings
instead. - Removed field
InMemoryIndexer.dictionary
. Useindex.dictionary
instead. - Removed field
InMemoryIndexer.postings
. Useindex.postings
instead. - Added new field
InvertedIndex.analyzer
, changing the signatures of factory constructorsTextIndexer.inMemory
and 'TextIndexer.async'.
Updated dependencies, tests, examples and documentation.
0.6.0-2 (PRE-RELEASE, BREAKING CHANGES) #
Breaking changes:
- Changed signature of extension method
Postings.termPostingsList(Term)
toPostings.termPostingsList([Iterable<Term>?])
.
Updated dependencies, tests, examples and documentation.
0.6.0-1 (PRE-RELEASE, BREAKING CHANGES) #
Updated dependencies, tests, examples and documentation.
0.5.0 (PRE-RELEASE, BREAKING CHANGES) #
Deprecated:
- Field
InMemoryIndexer.dictionary
is deprecated. Useindex.dictionary
instead. - Field
InMemoryIndexer.postings
is deprecated. Useindex.postings
instead.
Updated dependencies, tests, examples and documentation.
0.4.0 (PRE-RELEASE, BREAKING CHANGES) #
Breaking changes:
- Renamed method
TextIndexer.index
toTextIndexer.indexText
. - Renamed class
PersistedIndexer
toAsyncIndexer
.
New:
InvertedIndex
interface and implementation.TextIndexer.index
field getter.TextIndexer.index
factory constructor.TextIndexer.async
factory constructor.TextIndexer.inMemory
factory constructor.
Deprecated:
- Method
TextIndexer.upsertDictionary
is deprecated. UseTextIndexer.index.upsertDictionary
instead; - Method
TextIndexer.getDictionary
is deprecated. UseTextIndexer.index.getDictionary
instead; - Method
TextIndexer.getPostings
is deprecated. UseTextIndexer.index.getPostings
instead; - Method
TextIndexer.upsertPostings
is deprecated. UseTextIndexer.index.upsertPostings
instead. - Field
InMemoryIndexer.dictionary
is deprecated. Useindex.dictionary
instead. - Field
InMemoryIndexer.postings
is deprecated. Useindex.postings
instead.
Updated dependencies, tests, examples and documentation.
0.3.2 (PRE-RELEASE) #
New:
JSON
andJsonCollection
type aliases.TextIndexer.indexCollection
method.PostingsExtension.documents
getter.
Updated dependencies, tests, examples and documentation.
0.3.1 (PRE-RELEASE) #
New:
JSON
andJsonCollection
type aliases.- implemented
TextIndexer.indexCollection
method.
Updated dependencies, tests, examples and documentation.
0.3.0 (PRE-RELEASE, BREAKING CHANGES) #
Breaking changes:
- Removed interface
Document
.
0.2.0 (PRE-RELEASE, BREAKING CHANGES) #
New:
ZonePostings
,DocumentPostings
, andFieldPostingsEntry
type definitions.Ft
,Pt
,TermPositions
andDocId
type aliases.- interface
Document
.
Breaking changes:
- Replaced object-model class
PostingsEntry
with typedefPostingsEntry
. - Replaced object-model class
DocumentPostingsEntry
with typedefDocumentPostingsEntry
. - Replaced object-model class
DictionaryEntry
with typedefDictionaryEntry
.
Restructured and simplified the codebase.
Updated dependencies, tests, examples and documentation.
0.1.0 (PRE-RELEASE) #
New:
ITextIndexer.indexJson
method.
Updated dependencies, tests, examples and documentation.
0.0.2+1 (PRE-RELEASE) #
Updated dependencies, tests, examples and documentation.
0.0.2 (PRE-RELEASE) #
New:
text_analysis
package to exports.
Updated dependencies, tests, examples and documentation.
0.0.1+10 (PRE-RELEASE) #
Updated dependencies, tests, examples and documentation.
0.0.1+9 (PRE-RELEASE) #
Updated dependencies, tests, examples and documentation.
0.0.1+8 (PRE-RELEASE) #
Updated dependencies, tests, examples and documentation.
0.0.1+7 (PRE-RELEASE) #
Updated dependencies, tests, examples and documentation.
0.0.1+6 (PRE-RELEASE) #
Re-worked private methods to suit changes in text_analysis package.
Updated dependencies, tests, examples and documentation.
0.0.1+5 (PRE-RELEASE) #
- Updated dependencies.
0.0.1+4 (PRE-RELEASE) #
Updated dependencies, tests, examples and documentation.
0.0.1+3 (PRE-RELEASE) #
Updated dependencies, tests, examples and documentation.
0.0.1+2 (PRE-RELEASE) #
Updated documentation.
0.0.1+1 (PRE-RELEASE) #
Updated dependencies, tests, examples and documentation.
0.0.1 (PRE-RELEASE, BREAKING CHANGES) #
Interfaces finalized (see breaking changes)
Breaking changes:
TermDictionary
renamedDictionary
.DocumentPostingsEntry
renamedPostings
.PostingsMapEntry
renamedPostingsEntry
.Term
renamedDictionaryEntry
.TermPositions
renamedDocumentPostingsEntry
.AsyncIndexer
implementation.TextIndexerBase
implementation.InMemoryIndexer
implementation.
Updated dependencies, tests, examples and documentation.
0.0.1-beta.4 (PRE-RELEASE) #
Updated dependencies, tests, examples and documentation.
0.0.1-beta.3 (PRE-RELEASE, BREAKING CHANGES) #
New:
AsyncIndexer
class.
Breaking changes:
TextIndexerBase
implementation.InMemoryIndexer
implementation.
Updated dependencies, tests, examples and documentation.
0.0.1-beta.2 (PRE-RELEASE) #
New:
TextIndexerBase
.InMemoryIndexer
.
Updated dependencies, tests, examples and documentation.
0.0.1-beta.1 (PRE-RELEASE) #
Initial version.