jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Planamente <MikePlaname...@hotmail.com>
Subject Re: problems configuring jackrabbit indexing for full serach
Date Mon, 28 Sep 2009 19:53:34 GMT

Thank you for your rapid answer,
the workspace is created and filled after config changes(everything is
cleared and rebuild)...
 didn't know 'html' was ignored by html extracors!!! this is a good clue to

>Did you try //element(*, nt:resource)[jcr:contains(., 'searchterm')] ?
YES, I've already tried jcr:contains(.,'HTML') -> 'HTML' is probably the
problem's cause, I'll try with 'java' as it's a javadoc html web site that I
I'll do that tomorrow morning as it's 21:50...(Belgium time!)

i'll keep you informed about the result of my investigations...

thank you!.

Alexander Klimetschek wrote:
> On Mon, Sep 28, 2009 at 19:51, Michael Planamente
> <MikePlanamente@hotmail.com> wrote:
>> I have some problems to configure the jackrabbit indexing in order to
>> make
>> some full search queries...
>> I added a searchIndex to the workspace tag and some parameters(path...)
>> but, when I try to make an xpath query like this one, nothing returns!
>>  any
>> clue? everithing seems to be correct.
>> //element(*,nt:resource)[jcr:contains(@jcr:data,'HTML')]   (I also tried
>> '*HTML*',  '%HTML%'  and also jcr:LIKE...)
>> can you confirm that by default(without specifying indexingConfiguration
>> param) all the properties of all nodes are indexed?
> AFAIK, yes. Some possible problems:
> 1) Did you change the workspace.xml config? (repository.xml will only
> apply for newly created workspaces)
> 2) If you have changed the config, ie. enabled search, after the
> content was already present, it won't be indexed. You need to delete
> the search index directory (workspaces/<workspace>/index normally).
> 3) The default html text extractor will skip html tags AFAIK, so
> searching for HTML won't yield results. Try some of the text inside
> html.
> 4) Did you try //element(*, nt:resource)[jcr:contains(., 'searchterm')] ?
> Regards,
> Alex
> -- 
> Alexander Klimetschek
> alexander.klimetschek@day.com

View this message in context: http://www.nabble.com/problems-configuring-jackrabbit-indexing-for-full-serach-tp25649858p25651787.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

View raw message