content_indexer v0.2.5 ContentIndexer.TfIdf.Corpus.Impl
Summary
functions used by the ContentIndexer.TfIdf.Corpus.Server
Link to this section Summary
Functions
Decrements the corpus document count
Increments the corpus document count
Resets the corpus document count
Link to this section Functions
Link to this function
decrement(corpus_size)
Decrements the corpus document count
## Example
iex> ContentIndexer.TfIdf.Corpus.Impl.decrement(2)
1
Link to this function
increment(corpus_size)
Increments the corpus document count
## Example
iex> ContentIndexer.TfIdf.Corpus.Impl.increment(2)
2
Link to this function
reset()
Resets the corpus document count
## Example
iex> ContentIndexer.TfIdf.Corpus.Impl.reset
0