--
You received this message because you are subscribed to the Google Groups "bleve" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bleve+un...@googlegroups.com.
To post to this group, send email to bl...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bleve/f017262b-9659-40a4-b3a8-150d9dc5be5f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hello,I saw your question on StackOverflow, but I didn't respond because I thought the answer from Ben Johnson was correct and clear. I upvoted it, but it seems others have upvoted the other answer, which I though missed the mark as it ignored your desire to use Bleve. I think there are 2 main points I can clarify, and then beyond that we'll need more information about what you've already tried.1. Bleve uses BoltDB by default for it's own index storage. For most users this is an implementation detail they can ignore, so I'm assuming this is not what you mean by "using Bleve with BotlDB".
2. There is no out of the box integration for using Bleve with any other database. It is a library, so if you want to index data, you have to pass your data to the Index() method as described in Ben Johnson's answer on StackOverflow.I'm happy to try and help further, but I think we need more information about what exactly you're trying to do, and what you've already tried.
Thanks,marty
this is where I get confused. BoltDB is a default for bleve but how? There is no documentation in Bleve that uses BoltDB. I have come across this import: github.com/blevesearch/bleve/index/store/boltdb but my poor programming skills don't allow me to understand how to use it or if its even necessary for the process
2. There is no out of the box integration for using Bleve with any other database. It is a library, so if you want to index data, you have to pass your data to the Index() method as described in Ben Johnson's answer on StackOverflow.I'm happy to try and help further, but I think we need more information about what exactly you're trying to do, and what you've already tried.
What I have done so far is iterate through what I have in BoltDB (data.db) and then indexed it and saved it as data.bleve. After that, I tried doing a mapping and querying it. It seems to work OK (some result is returned though not in the format I expected. I think my mapping is all wrong or maybe my solution is wrong).
I am not sure if this is the right way to do it as I did not use github.com/blevesearch/bleve/index/store/boltdb at any point.