Swapna Gupta wrote:
If I copy the folder corresponding to the collection I want to import
(located in xindice\current\xml-xindice-1.0\ in the older version) to
the xindice\WEB-INF\db folder, will it get recognized? I tried, but it
didn’t show up while browsing the database.
What do I need to do?
One thing that you probably want to look at is the file
system.xml in your xindice\WEB-INF. There is one line there
that specifies the location Xindice looks at to find your .tbl files.
For example, for me the line is:
<root-collection dbroot="/tmp/xindice_db/" name="db" use-metadata="on">
which means that Xindice looks at /tmp/xindice_db to find the db
collections, in which the .tbl files reside.
So if you have collection COLLECTION1 in directory /foo/bar
the line in your system.xml should look like :
<root-collection dbroot="/foo/bar/COLLECTION1/" name="db" use-metadata="on">
Inside COLLECTION1 you should have the .tbl files.
Hope this helps
Eno
Thanks in advance. I am sure I’ll get great help here!
Swapna