2014년 12월 7일 일요일

Is it possible to integrate solr with mongodb?

Hi to everyone,

I am very new to mongodb, can anyone suggest me is it possible to integrate solr with mongodb?



It's possible. Exactly what needs to be done and what tools are available to help you depends on what you are trying to achieve with an integration. To sync data from MongoDB to Solr, check out mongo-connector, which uses the replica set oplog to synchronize data between MongoDB and Solr.

Alternatively, MongoDB does have built-in full text search. If it meets all of your requirements for text search, you will find MongoDB's text indexes an easier option than maintaining another copy of the data in Solr.



thanks will.... have another question is mongodb fulltext search is good compare with solr, lucene, elasticsearch....



What do you want to do with the full text search? MongoDB's text search has the core features of full text search and is sufficient for many use cases but it doesn't have as many features as dedicated full text search engines like Solr or Elastic Search.



I want search  a piece of text , that may contains any fields in collection



Depending on the language of the text, MongoDB will work for that:




Thanks Will,


댓글 없음:

댓글 쓰기