• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Text analytics on MongoDb documents

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How do you do text analytics with the documents that are stored in mongodb?
 
author
Posts: 17
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm not sure I completely understand the question, but I'll give it a shot anyway....

Just to be clear starting out: "documents" in MongoDB are actually JSON-like objects, not text documents like you'd maybe use with Microsoft Word or other word processors.

As to how you can do text analytics on fields within MongoDB documents, you can use the recently released full text search to do searching, and there are a limited number of string-processing functions within the aggregation framework, but in general I'd say that text processing isn't the best use case for MongoDB.

If you decide to do it anyway, you could certainly use MongoDB as the persistence layer of your analytics engine, but it's not going to provide you with many benefits over any other persistence engine.

Hope that helps!
 
Alas, poor Yorick, he knew this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic