-
1. Re: ModeShape 3 full-text search
hchiorean Nov 20, 2012 2:47 AM (in response to tamer_sk)Hi,
Overall the configuration looks ok (as a sidenote, you don't need a sequencer configured in order to be able to use text extraction).
Are you running the 3.0.0.Final kit inside of AS 7.1.1 or another AS7 version ?
Could you please try the following:
- add module="org.modeshape.extractor.tika" on the <text-extractor XML element
- try to change your query like so: contains([nt:resource].*,'ModeShape')
What type of nodes does this happen for ? (doc/ppt/xls)
-
2. Re: ModeShape 3 full-text search
tamer_sk Nov 20, 2012 3:16 AM (in response to hchiorean)Thank you very much Horia for the quick response. I have just tried your suggestions and I am still not getting anything back. I am using AS7.1.1 with the 3.0.0.Final Kit. I am currently testing with doc. I have not tried ppt/xls yet.
-
3. Re: ModeShape 3 full-text search
hchiorean Nov 20, 2012 3:27 AM (in response to tamer_sk)This is interesting, because we have integration tests on this exact setup (AS7 kit + 7.1.1.Final) which run fine against a doc file: https://github.com/ModeShape/modeshape/blob/master/integration/modeshape-jbossas-integration-tests/src/test/java/org/modeshape/test/integration/TikaTextExtractorIntegrationTest.java
Can you try to execute any other query on these nodes ? Not full text search, but anything else. I'm curious if the nodes are being indexed at all.
-
4. Re: ModeShape 3 full-text search
rhauch Nov 20, 2012 12:00 PM (in response to hchiorean)Can you try to execute any other query on these nodes ? Not full text search, but anything else. I'm curious if the nodes are being indexed at all.
This is a very good tip - try submitting any other query that doesn't use full-text search. If such a query is working, then the problem is related to the text extraction; if the query doesn't work then it signals that something else is amiss in your indexing configuration.
BTW, the configuration that is used in the TikaTextExtractIntegrationTest (that Horia mentioned) is located here. It is used for other tests as well, so there are lots of sequencers and other things in the "artifacts" repository that you won't necessarily need.
-
5. Re: ModeShape 3 full-text search
tamer_sk Nov 21, 2012 12:35 AM (in response to rhauch)Thank you very much Horia and Randall. The search is working now. I have not made any changes to get it working. I must have been really sleepy when I was looking into it
Thanks,
Tamer
-
6. Re: ModeShape 3 full-text search
rhauch Nov 21, 2012 9:45 AM (in response to tamer_sk)Great, I'm glad its working for you now.