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