Hi Stefano, > -----Original Message----- > From: Stefano Mazzocchi [mailto:[EMAIL PROTECTED] > Sent: Donnerstag, 22. Januar 2004 14:47 > To: Slide Developers Mailing List > Subject: Re: Integrate Indexstore and SEARCH (was Indexing store) > > > > On 21 Jan 2004, at 14:57, Wallmer, Martin wrote: > > > In Domain.xml we could have something like: > > > > <store name="jdbc" classname="org.apache.slide.store.BindingStore"> > > <nodestore > classname="org.apache.slide.store.impl.rdbms.JDBCStore"> > > <parameter name="driver">com.mysql.jdbc.Driver</parameter> > > <parameter > > name="url">jdbc:mysql://localhost:3306/test?autoReconnect=true</ > > parameter> > > <parameter name="user">wam</parameter> > > <parameter name="password"/> > > <parameter > > > name="adapter">org.apache.slide.store.impl.rdbms.MySqlRDBMSAdapter</ > > parameter> > > </nodestore> > > <securitystore> > > <reference store="nodestore"/> > > </securitystore> > > <lockstore> > > <reference store="nodestore"/> > > </lockstore> > > <revisiondescriptorsstore> > > <reference store="nodestore"/> > > </revisiondescriptorsstore> > > <revisiondescriptorstore> > > <reference store="nodestore"/> > > </revisiondescriptorstore> > > <contentstore > > classname="org.apache.slide.store.txfile.TxFileContentStore"> > > <parameter name="rootpath">mysql/store/content</parameter> > > <parameter name="workpath">mysql/work/content</parameter> > > </contentstore> > > <indexer classname="my.lucene.Indexer"/> > > <searchengine> > > <parameter > > name="propertySearchClass">my.sql.SearchEngine</parameter> > > <parameter > > name="ContentSearchClass">my.Lucene.SearchEngine</parameter> > > </searchengine> > > </store> > > > > Does this make sense? > > It sure does, but I believe you missed my point. > > Here, you are partitioning the tree with stores, and you are > associating indexers and searchengines to the store. > > What if I want to have two different partitions of the tree > space, one > for storing and one for indexing/searching? [I believe Oliver was > wondering about this as well] and potentially having them layered > allowing a single file to be indexed/searched by more than > one indexer > at the same time?
Just to see if I got your point: you define a store named foo in domain.xml you want all documents, that go into foo/images indexed by a jpeg indexer you want all documents, that go into foo/pdf indexed by a pdf indexer all documents elsewhere in or below foo shall be indexed by text indexer. Is that right? I agree absolutely, that it is necessary to allow different types of indexers. regards, Martin --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
