You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-dev@xml.apache.org by Vadim Gritsenko <va...@reverycodes.com> on 2005/06/22 17:28:34 UTC

[ANN] Xindice Source Repository

Hi All,

Xindice source repository has been moved from the CVS into the SVN. You can 
checkout trunk from the following URL:

   http://svn.apache.org/repos/asf/xml/xindice/trunk/


Those who need subversion client, download it here:

   http://subversion.tigris.org/
   http://tortoisesvn.tigris.org/


Vadim

Re: indexing

Posted by Qunfang Zhang <qu...@student.adelaide.edu.au>.
Hi All,

1.When I try to use the command to index for all elements for a collection on
xindice1.1b4:
xindice ai -c xmldb:xindice://localhost:8080/db4/mdc/ensembles -n all -
p '*'//i also use * or "*"
and
xindice li -c xmldb:xindice://localhost:8080/db4/mdc/ensembles

it will get:
trying to register database
Indexes:
all
Total Indexes: 1

but the index seems not work, and in /SysConfig/database.xml, I found:
<?xml version="1.0"?> <database name="db4"><collections><collection
compressed="true" inline-metadata="true" name="ildg"><filer
class="org.apache.xindice.core.filer.BTreeFiler" />
...
><collection compressed="true" inline-metadata="true" name="ensembles"><filer
class="org.apache.xindice.core.filer.BTreeFiler" /><indexes><index
class="org.apache.xindice.core.indexer.ValueIndexer" name="all"
pattern="db1_maximus_mdcTimeLog.log db3_dev_mdcTimeLog.log
db3_maximus_mdcTimeLog.log maximus_db4_feature2_configurations.log
maximus_db4_feature2_ensembles.log maximus_db4_feature2_portal.log
maximus_db4_i_feature2_configurations.log maximus_db4_i_feature2_ensembles.log
mdcTimeLog.log~ mdcTimeLog.log.1 mdcTimeLog.log.1~ mdcTimeLog.log.2
mdcTimeLog.log.2~" /></indexes>
...

the above pattern got all files names for the current directory files.
I list the files in current dir I do the above command:
ls
db1_maximus_mdcTimeLog.log                 maximus_db4_i_feature2_ensembles.log
db3_dev_mdcTimeLog.log                     mdcTimeLog.log~
db3_maximus_mdcTimeLog.log                 mdcTimeLog.log.1
maximus_db4_feature2_configurations.log    mdcTimeLog.log.1~
maximus_db4_feature2_ensembles.log         mdcTimeLog.log.2
maximus_db4_feature2_portal.log            mdcTimeLog.log.2~
maximus_db4_i_feature2_configurations.log

2. How to use autoindex of <resolver
class="org.apache.xindice.core.query.XPathQueryResolver"
autoindex="false"/>
in system.xml?

Thanks,

qunfang zhnag

Re: indexing

Posted by Qunfang Zhang <qu...@student.adelaide.edu.au>.
Hi All,

1.When I try to use the command to index for all elements for a collection on
xindice1.1b4:
xindice ai -c xmldb:xindice://localhost:8080/db4/mdc/ensembles -n all -
p '*'//i also use * or "*"
and
xindice li -c xmldb:xindice://localhost:8080/db4/mdc/ensembles

it will get:
trying to register database
Indexes:
all
Total Indexes: 1

but the index seems not work, and in /SysConfig/database.xml, I found:
<?xml version="1.0"?> <database name="db4"><collections><collection
compressed="true" inline-metadata="true" name="ildg"><filer
class="org.apache.xindice.core.filer.BTreeFiler" />
...
><collection compressed="true" inline-metadata="true" name="ensembles"><filer
class="org.apache.xindice.core.filer.BTreeFiler" /><indexes><index
class="org.apache.xindice.core.indexer.ValueIndexer" name="all"
pattern="db1_maximus_mdcTimeLog.log db3_dev_mdcTimeLog.log
db3_maximus_mdcTimeLog.log maximus_db4_feature2_configurations.log
maximus_db4_feature2_ensembles.log maximus_db4_feature2_portal.log
maximus_db4_i_feature2_configurations.log maximus_db4_i_feature2_ensembles.log
mdcTimeLog.log~ mdcTimeLog.log.1 mdcTimeLog.log.1~ mdcTimeLog.log.2
mdcTimeLog.log.2~" /></indexes>
...

the above pattern got all files names for the current directory files.
I list the files in current dir I do the above command:
ls
db1_maximus_mdcTimeLog.log                 maximus_db4_i_feature2_ensembles.log
db3_dev_mdcTimeLog.log                     mdcTimeLog.log~
db3_maximus_mdcTimeLog.log                 mdcTimeLog.log.1
maximus_db4_feature2_configurations.log    mdcTimeLog.log.1~
maximus_db4_feature2_ensembles.log         mdcTimeLog.log.2
maximus_db4_feature2_portal.log            mdcTimeLog.log.2~
maximus_db4_i_feature2_configurations.log

2. How to use autoindex of <resolver
class="org.apache.xindice.core.query.XPathQueryResolver"
autoindex="false"/>
in system.xml?

Thanks,

qunfang zhnag