3 ms·
How are you doing your tokenization and stemming? I find it hard to believe that the actual token lookup is slower.
by rabidsnail 16y ago
How are you doing your tokenization and stemming? I find it hard to believe that the actual token lookup is slower.
- ChrisFulstow 16y agoTokenization was a simple string split on whitespace, and no stemming. It was quite a large Mongo dataset, so only a fraction of the index and data would've been in memory, it could've easily been quicker for a smaller dataset living in memory. For me, one of the benefits of Lucene is the powerful built-in query parsing, tokenization, analyzers, etc.
- rabidsnail 16y agoThe performance probably would have been better if the dataset (or at least the portion of the dataset that gets touched frequently) was smaller. But why wouldn't lookup in lucene be at least as slow?