[KinoSearch] Indexing results
Peter Karman
peter at peknet.com
Wed May 20 18:09:18 PDT 2009
Pasquale Stirparo wrote on 5/14/09 4:35 AM:
> Hello List,
>
> I'm new to kino and I'm findnig it very useful and easy to use. Btw,
> there is something I'm "having trouble" with.
>
> I built my inverted index customizing the example at
> http://rectangular.com/kinosearch/docs/stable/KinoSearch/InvIndexer.html.
> Now, I would like to know how many times the word "target" is present
> in a document. Or it would be nice to have a kind of chart of the
> occurrence of every word, for example:
> "target1" 25
> "target2" 23
> "target3" 14
> ... and so on
>
> Until now I only managed, using the searcher, to know in wich document
> a word is or in how many documents.
at the risk of hijacking this thread, let me point you at swish-e, which makes
this task trivial, *if* the size of your doc collection isn't too large (<1M docs).
see this thread, for example:
http://swish-e.org/archive/2008-05/12162.html
penance: Swish3 is still burning, though the coals are low, and it *will* have a
KS backend, esp once the index api finalizes.
--
Peter Karman . http://peknet.com/ . peter at peknet.com
More information about the kinosearch
mailing list