Best NoSQL for Inverted Index

I am working on a small project where I need to create an inverted index and apply similarity algorithms based on a user query - a basic search for information. What is the best NoSQL product for building and finding inverted indexes?

Thanks J

+3
source share
2 answers

Since an inverted index is everything to keep the connection between words and their locations inside the document, I'm not sure if this is a really good use case for NoSQL. Traditional SQL will work better here. For example, try the data structure as follows:

Documents (DocumentID primary key, DocumentText text)
Words (WordID primary key, Word text)
Instances (InstanceID primary key, WordID foreign key, DocumentID foreign key, WordIndex integer)

, Documents, Words, WordID, , Instances.

NoSQL, - MongoDB . Word Instances, ObjectID . , MongoDB . "a" "the" 4 , , .

+1

. Elasticsearch

  • ,
  • API RESTful
0
source

All Articles