4 ms·
I totally agree. I think the big missing piece of the puzzle, though, is full-text searching. I attended a webinar on MongoDB the other day hosted by Dwight Mer
by jherdman 17y ago
I totally agree. I think the big missing piece of the puzzle, though, is full-text searching. I attended a webinar on MongoDB the other day hosted by Dwight Merriman (10gen) and Ian White (Business Insider). Ian mentioned this as a sore spot for his usage of MongoDB and that he'd be coming up with a Lucene solution. It'd be interesting to see the solution he comes up with.
- _pius 17y agoI think the big missing piece of the puzzle, though, is full-text searching. True, but you can emulate it somewhat by indexing on all keywords of the text. MongoDB can index on keys deeply nested in the structure, so you could have a field that's an array of each word in the text and then index on those.
- jherdman 17y agoIndeed, and that's how Business Insider is currently handling search. I'm not sure if this is necessarily a "good" solution though. Thoughts?
- _pius 17y agoGood question, but I don't know enough about this problem to say. It'd be interesting to see some benchmarks comparing a search of a document indexed this way versus, say, a Lucene full-text search.