jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Parvulescu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JCR-3287) Fulltext search breaking between 2.2 and 2.4.1
Date Tue, 24 Apr 2012 09:09:34 GMT

    [ https://issues.apache.org/jira/browse/JCR-3287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13260371#comment-13260371

Alex Parvulescu commented on JCR-3287:

JCR-2885 is responsible for moving the text extractors (namely tika-parsers library) out of
jackrabbit-core. So you need to make sure your test project references them.

We are only talking about classpaths here. You don't need to change anything else, just make
sure that tika-parsers is included.
In maven terms, this is how the dependency looks like so you should be able to add that to
your project [0].

> indexing is asynchronous and as such I'd have to throw in some arbitrary wait period
before attempting to see if the file has been indexed.
Yes, I'm well aware of that, we have some tricks in the Jackrabbit tests that wait for indexing
to be done [1], but I'm not sure if you could hook into that for your tests.

[0] http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-parent/pom.xml?view=markup#l372
[1] http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/query/AbstractIndexingTest.java?view=markup#l61

> Fulltext search breaking between 2.2 and 2.4.1
> ----------------------------------------------
>                 Key: JCR-3287
>                 URL: https://issues.apache.org/jira/browse/JCR-3287
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: 2.4
>         Environment: 11.3.0 Darwin Kernel Version 11.3.0: Thu Jan 12 18:47:41 PST 2012;
root:xnu-1699.24.23~1/RELEASE_X86_64 x86_64
> java version "1.6.0_29"
> Java(TM) SE Runtime Environment (build 1.6.0_29-b11-402-11D50b)
> Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02-402, mixed mode)
>            Reporter: Charles Erwin
> Upgraded Jackrabbit Dependencies from 2.2.0 to 2.4.1 and now cannot get Full Text search
to work.  I have created a Github project to show the repository.xml configuration and the
search code to prevent it being cluttered up here:  https://github.com/greymeister/jackrabbit-2.4-search-bug

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


View raw message