[JAVA-2098] Lucene Directory support Created: 24/Jan/16 Updated: 12/Sep/16 Resolved: 25/Jan/16 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Michele Renda | Assignee: | Unassigned |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
I would like to setup the lucene store to a MongoDB installation. Unfortunately this project is stuck to the old version of Mondo DB and does not run anymore. Newest version of MongoDB now uses new classes like GridFSBuckets and MongoDatabase (replacing the old classes GridFS and MongoDB). Here an example of usage: Can you please implement a MongoDBDirectory? Because I am not sure which team (Lucene or MongoDB one) can better take care of this request, I am opening a copy of this request to the other team too (see https://issues.apache.org/jira/browse/LUCENE-6990 ). Best regards |
| Comments |
| Comment by Michele Renda [ 12/Sep/16 ] |
|
Thank you very much Matthew Davis. Best regards |
| Comment by Matthew Davis [ 12/Sep/16 ] |
|
https://github.com/lumongo/lumongo https://github.com/lumongo/lumongo/wiki/Distributed-Directory Based on Lucene 6.2 in master, and 6.1 as a release |
| Comment by Michele Renda [ 25/Jan/16 ] |
|
Hello Ros, Thank you very much for the very kind answer! Indeed you are right in all your points and me too I would not like to see the Lucene integration inside the MongoDB Java driver: as you suggest it would be better an external project like the rstiller one. Unfortunately the Mongo text index capabilities are not enough for what I need to develop (an application who manage scanned documents), so for now I will use the Lucene own storace (file based) and when I will have the possibility, I will develop the Mongo directory backend and publish it as open source project (if someone more skilled than me will not do it before). Thank you for everything and take my best regards. |
| Comment by Ross Lawley [ 25/Jan/16 ] |
|
Hi micrenda, Thanks for the ticket, this is not something that would be natively supported by the MongoDB Java driver as it is a layer of functionality above what the driver provides. The Java driver aims to provide a standalone independent driver to connect to MongoDB, one that is easily installable without external dependencies. Looking at the mongo-lucene project, it is tied to a specific version of Lucene and this coupling is not something many of our users would want. So it is ideal for a separate project as rstiller created. For that reason I'm closing this ticket as "Won't Fix" and I imagine the arguments equally apply for the Lucene project. I can only offer guidance on how best to proceed. Did you know that MongoDB has a highly capable text index? Which may suite your needs. Alternatively, you could reach out to rstiller on github to find out more about his project, I'm sure he'd be willing to take any pull requests to update to the latest version of the Java MongoDB driver. Ross |