hi daniel, the search manager is also used for xpath queries. regards, toby
On 1/23/07, Daniel Bloomfield Ramagem <[EMAIL PROTECTED]> wrote:
I'm a little confused about indexing in Jackrabbit. Indexing is only useful if I want to be able to perform searches of the *contents* of the nodes in the repository, right? Will not having an index still allow XPath queries? I have a Jackrabbit repository set up that I want to use as a virtual file system. So I have a bunch of nt:file and nt:folder node types. I don't care about searching inside the contents of the files stored in the nt:file node (via "jcr:data"). According to http://jackrabbit.apache.org/doc/config.html the <SearchIndex> element of the repository.xml is optional and if omitted the workspace is not searchable. I've commented out this section in my configuration but then I get a RepositoryException "no search manager configured for this workspace". Can anyone clarify this for me? Thanks, Daniel.
-- -----------------------------------------< [EMAIL PROTECTED] >--- Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel T +41 61 226 98 98, F +41 61 226 98 97 -----------------------------------------------< http://www.day.com >---
