<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:56:19 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[JAVA-2098] Lucene Directory support</title>
                <link>https://jira.mongodb.org/browse/JAVA-2098</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;I would like to setup the lucene store to a MongoDB installation.&lt;br/&gt;
It already exists an old project which gives this possiblity:&lt;br/&gt;
&lt;a href=&quot;https://github.com/rstiller/mongo-lucene&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/rstiller/mongo-lucene&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;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).&lt;/p&gt;

&lt;p&gt;Here an example of usage:&lt;br/&gt;
&lt;a href=&quot;http://mongodb.github.io/mongo-java-driver/3.2/driver/reference/gridfs/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://mongodb.github.io/mongo-java-driver/3.2/driver/reference/gridfs/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Can you please implement a MongoDBDirectory?&lt;/p&gt;

&lt;p&gt;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 &lt;a href=&quot;https://issues.apache.org/jira/browse/LUCENE-6990&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://issues.apache.org/jira/browse/LUCENE-6990&lt;/a&gt; ).&lt;/p&gt;

&lt;p&gt;Best regards&lt;/p&gt;</description>
                <environment></environment>
        <key id="260430">JAVA-2098</key>
            <summary>Lucene Directory support</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="2">Won&apos;t Fix</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="micrenda">Michele Renda</reporter>
                        <labels>
                    </labels>
                <created>Sun, 24 Jan 2016 10:47:39 +0000</created>
                <updated>Mon, 12 Sep 2016 13:24:54 +0000</updated>
                            <resolved>Mon, 25 Jan 2016 11:42:44 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="1381875" author="micrenda" created="Mon, 12 Sep 2016 13:24:54 +0000"  >&lt;p&gt;Thank you very much Matthew Davis.&lt;br/&gt;
I think it will be very useful to me.&lt;/p&gt;

&lt;p&gt;Best regards&lt;br/&gt;
Michele&lt;/p&gt;</comment>
                            <comment id="1381860" author="kryptonics411" created="Mon, 12 Sep 2016 13:11:47 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/lumongo/lumongo&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/lumongo/lumongo&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/lumongo/lumongo/wiki/Distributed-Directory&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/lumongo/lumongo/wiki/Distributed-Directory&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Based on Lucene 6.2 in master, and 6.1 as a release&lt;/p&gt;</comment>
                            <comment id="1152916" author="micrenda" created="Mon, 25 Jan 2016 18:09:30 +0000"  >&lt;p&gt;Hello Ros,&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;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).&lt;/p&gt;

&lt;p&gt;Thank you for everything and take my best regards.&lt;br/&gt;
Michele Renda&lt;/p&gt;</comment>
                            <comment id="1152437" author="ross@10gen.com" created="Mon, 25 Jan 2016 11:42:44 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=micrenda&quot; class=&quot;user-hover&quot; rel=&quot;micrenda&quot;&gt;micrenda&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;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.  &lt;/p&gt;

&lt;p&gt;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 &lt;tt&gt;mongo-lucene&lt;/tt&gt; 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 &lt;b&gt;rstiller&lt;/b&gt; created.&lt;/p&gt;

&lt;p&gt;For that reason I&apos;m closing this ticket as &quot;Won&apos;t Fix&quot; 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 &lt;a href=&quot;https://docs.mongodb.org/manual/core/index-text/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;capable text index&lt;/a&gt;? Which may suite your needs.  Alternatively, you could reach out to &lt;b&gt;rstiller&lt;/b&gt; on github to find out more about his project, I&apos;m sure he&apos;d be willing to take any pull requests to update to the latest version of the Java MongoDB driver.&lt;/p&gt;

&lt;p&gt;Ross&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hshndr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>