• 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

enable full text searh by saving doc url rather then saving document directly in the mongodb

 
Ranch Hand
Posts: 48
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello All,
Can we enable full text content searching in mongodb where we save document url like https://firstdocteststorage.blob.core.windows.net/32a2oovw9v in the db rather then saving the document only.


Thanks in advance
 
Sheriff
Posts: 11604
178
Hibernate jQuery Eclipse IDE Spring MySQL Database AngularJS Tomcat Server Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

shikha nirankari wrote:Can we enable full text content searching in mongodb where we save document url like https://firstdocteststorage.blob.core.windows.net/32a2oovw9v in the db rather then saving the document only.


So if I understand correctly, you would like to store the URL from an article/document/blog in MongoDB, but have full content searching abilities? Even when the content of the article/blog/document was changed after the URL was added to the database?
 
shikha nirankari
Ranch Hand
Posts: 48
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
yes this is what i m looking for. the link you shared is not working.
 
Roel De Nijs
Sheriff
Posts: 11604
178
Hibernate jQuery Eclipse IDE Spring MySQL Database AngularJS Tomcat Server Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

shikha nirankari wrote:yes this is what i m looking for.


I am not a MongoDB expert at all. In fact, I have no experience at all with MongoDB. But my common sense tells me that's probably not gonna work for a variety of reasons. Probably the most important one is performance: if you execute a search query all these documents need to be fetched in order to be able to do a full text search. That would result in very, very, very slow searching. So why are you interested in this functionality?

shikha nirankari wrote:the link you shared is not working.


That makes sense because I didn't share any link
 
shikha nirankari
Ranch Hand
Posts: 48
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Roel,
it is possible and will not even slow down the performance.

fulltext search can be done at db level with saving docs in the db only rather in elasticsearch which will infact give better performance.
 
Roel De Nijs
Sheriff
Posts: 11604
178
Hibernate jQuery Eclipse IDE Spring MySQL Database AngularJS Tomcat Server Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

shikha nirankari wrote:it is possible and will not even slow down the performance.

fulltext search can be done at db level with saving docs in the db only rather in elasticsearch which will infact give better performance.


But this scenario is different from the one you have described in your original post: you want to save the document URL instead of the actual document content and still have a full text search. So either I have misunderstood your question (although you have confirmed that was what you are looking for) or you have changed the requirements for one (or more) reasons.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic