3 messages in org.apache.jackrabbit.usersRe: Is there a way to initiate buildi...
FromSent OnAttachments
Jim JonesOct 30, 2007 1:25 pm 
Christoph KiehlOct 31, 2007 1:03 am 
Alexandre MartinsNov 1, 2007 3:55 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: Is there a way to initiate building of search index?Actions...
From:Alexandre Martins (alex@gmail.com)
Date:Nov 1, 2007 3:55:00 am
List:org.apache.jackrabbit.users

Maybe you need to check you repository.xml, whats the indexers that you put in your SearchIndex tag?

br

2007/10/31, Christoph Kiehl <chri@sulu3000.de>:

Jim Jones wrote:

New nodes added under the root node aren't search-able unless the index is rebuilt by stoppin the repository, deleting the index folders and then restarting the repository.

Are you maybe calling Node/Session.save() before exiting you program? New nodes are automatically added to the search index if you call Node.save() or Session.save(). Only calling Node.addNode() doesn't add a node to the search index (see 6.6.7 Search Scope in the JCR spec). I have no other idea why your nodes are not indexed. Could you please post you code if calling save() first doesn't resolve your issues?

Cheers, Chris