You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-dev@jackrabbit.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2012/06/26 18:14:44 UTC

[jira] [Created] (OAK-154) Full text search index

Jukka Zitting created OAK-154:
---------------------------------

             Summary: Full text search index
                 Key: OAK-154
                 URL: https://issues.apache.org/jira/browse/OAK-154
             Project: Jackrabbit Oak
          Issue Type: New Feature
          Components: core
            Reporter: Jukka Zitting
            Assignee: Jukka Zitting


Oak should support full text search against content in the repository.

As a default implementation of such a feature I'd like to add a simple Lucene-based full text index, somewhat similar to the search index we have in Jackrabbit 2.x.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OAK-154) Full text search index

Posted by "Alex Parvulescu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OAK-154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13428271#comment-13428271 ] 

Alex Parvulescu commented on OAK-154:
-------------------------------------

Reverted the lucene dependency back to optional in revision 1369136.

oak-core did not change, it still has the dependency marked as test
I added it to oak-run, to have the standalone jar running properly.
                
> Full text search index
> ----------------------
>
>                 Key: OAK-154
>                 URL: https://issues.apache.org/jira/browse/OAK-154
>             Project: Jackrabbit Oak
>          Issue Type: New Feature
>          Components: core
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>              Labels: lucene
>         Attachments: OAK-154-enable-lucene.patch, OAK-154-optional-lucene.patch
>
>
> Oak should support full text search against content in the repository.
> As a default implementation of such a feature I'd like to add a simple Lucene-based full text index, somewhat similar to the search index we have in Jackrabbit 2.x.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OAK-154) Full text search index

Posted by "Alex Parvulescu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OAK-154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13426860#comment-13426860 ] 

Alex Parvulescu commented on OAK-154:
-------------------------------------

ouch, got it. I'll pay more attention next time :)
                
> Full text search index
> ----------------------
>
>                 Key: OAK-154
>                 URL: https://issues.apache.org/jira/browse/OAK-154
>             Project: Jackrabbit Oak
>          Issue Type: New Feature
>          Components: core
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>              Labels: lucene
>         Attachments: OAK-154-enable-lucene.patch
>
>
> Oak should support full text search against content in the repository.
> As a default implementation of such a feature I'd like to add a simple Lucene-based full text index, somewhat similar to the search index we have in Jackrabbit 2.x.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OAK-154) Full text search index

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OAK-154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13426856#comment-13426856 ] 

Jukka Zitting commented on OAK-154:
-----------------------------------

This broke {{oak-jcr}} because of the missing Lucene dependency (it's optional in {{oak-core}}). I fixed that in revision 1368222 by making Lucene a non-optional, inlined dependency of {{oak-core}} (it's always needed now that {{ContentRepositoryImpl}} uses it), but ultimately we should make it optional again by removing the hardcoded list of editors in {{ContentRepositoryImpl}}.

In the same commit I also had to adjust {{o.a.j.oak.jcr.RepositoryTest}} to work with the index nodes in place. To catch such problems in advance, please run {{mvn clean install -PintegrationTesting}} on the whole Oak checkout before committing changes.
                
> Full text search index
> ----------------------
>
>                 Key: OAK-154
>                 URL: https://issues.apache.org/jira/browse/OAK-154
>             Project: Jackrabbit Oak
>          Issue Type: New Feature
>          Components: core
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>              Labels: lucene
>         Attachments: OAK-154-enable-lucene.patch
>
>
> Oak should support full text search against content in the repository.
> As a default implementation of such a feature I'd like to add a simple Lucene-based full text index, somewhat similar to the search index we have in Jackrabbit 2.x.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OAK-154) Full text search index

Posted by "Alex Parvulescu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OAK-154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13426648#comment-13426648 ] 

Alex Parvulescu commented on OAK-154:
-------------------------------------

r1368008 changes (still very much a WIP):

 - hardcoded some index paths in LuceneIndexUtils, I'll remove it as we move forward
 - enabled the LuceneEditor by default in the ContentRepository
 - added a new LuceneIndexInfo class, that will contain the lucene index config information, for now it only holds the name and the path. The index config should be based on nodes in the repository at some point in the future.
 - added a base for tests (AbstractLuceneQueryTest) and a small initial test to see how it all ties together (Sql2QueryTest)
                
> Full text search index
> ----------------------
>
>                 Key: OAK-154
>                 URL: https://issues.apache.org/jira/browse/OAK-154
>             Project: Jackrabbit Oak
>          Issue Type: New Feature
>          Components: core
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>              Labels: lucene
>
> Oak should support full text search against content in the repository.
> As a default implementation of such a feature I'd like to add a simple Lucene-based full text index, somewhat similar to the search index we have in Jackrabbit 2.x.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (OAK-154) Full text search index

Posted by "Alex Parvulescu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OAK-154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Parvulescu updated OAK-154:
--------------------------------

    Attachment: OAK-154-enable-lucene.patch

Attaching a patch to enable the LuceneIndexProvider for the existing sql tests in the AbstractQueryTest.

All the tests pass, except an 'explain' statement that uses a custom property index.
                
> Full text search index
> ----------------------
>
>                 Key: OAK-154
>                 URL: https://issues.apache.org/jira/browse/OAK-154
>             Project: Jackrabbit Oak
>          Issue Type: New Feature
>          Components: core
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>              Labels: lucene
>         Attachments: OAK-154-enable-lucene.patch
>
>
> Oak should support full text search against content in the repository.
> As a default implementation of such a feature I'd like to add a simple Lucene-based full text index, somewhat similar to the search index we have in Jackrabbit 2.x.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OAK-154) Full text search index

Posted by "Alex Parvulescu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OAK-154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13418270#comment-13418270 ] 

Alex Parvulescu commented on OAK-154:
-------------------------------------

revision 1363321
 - bumped lucene up to 4.0.0 alpha, fixed compilation issues
 - added factory classes & minor cosmetics

                
> Full text search index
> ----------------------
>
>                 Key: OAK-154
>                 URL: https://issues.apache.org/jira/browse/OAK-154
>             Project: Jackrabbit Oak
>          Issue Type: New Feature
>          Components: core
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>              Labels: lucene
>
> Oak should support full text search against content in the repository.
> As a default implementation of such a feature I'd like to add a simple Lucene-based full text index, somewhat similar to the search index we have in Jackrabbit 2.x.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (OAK-154) Full text search index

Posted by "Alex Parvulescu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OAK-154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Parvulescu updated OAK-154:
--------------------------------

    Attachment: OAK-154-optional-lucene.patch

attaching patch to make the lucene dependency optional again.

                
> Full text search index
> ----------------------
>
>                 Key: OAK-154
>                 URL: https://issues.apache.org/jira/browse/OAK-154
>             Project: Jackrabbit Oak
>          Issue Type: New Feature
>          Components: core
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>              Labels: lucene
>         Attachments: OAK-154-enable-lucene.patch, OAK-154-optional-lucene.patch
>
>
> Oak should support full text search against content in the repository.
> As a default implementation of such a feature I'd like to add a simple Lucene-based full text index, somewhat similar to the search index we have in Jackrabbit 2.x.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira