How do I index a new search database?

I want to create a robot and run it against a URL and build an index( RDs), on my own defined search database. But only the default database get's indexed.

How do I point my Robot to my new defined search database?

Also I would like to be able to index a file system (a directory that contains only XML files). I have already created my filter specifying to allow any file with the extension .xml. but it doesn't seem to work? What do I need to do?

Thanks.

[492 byte] By [ajianfar] at [2007-11-25 19:15:24]
# 1
You can only search one db at a time. To search more, you can do two searches from within the same jsp you create.If It's already in the default jsp. Then search default + 2nd db. you can add as many as you like inside jsp. Jerry
jh23093 at 2007-7-3 23:23:17 > top of Java-index,Web & Directory Servers,Portal Servers...
# 2

Yes. I realize that. but my question is more of a administrative task. I using the Admin User interface I am creating a Robot that builds the RDs and populates the "default" search database. My question is how can I set the Robot to index the database that I have created instead of the default database?

Thanks.

ajianfar at 2007-7-3 23:23:17 > top of Java-index,Web & Directory Servers,Portal Servers...
# 3
Please take a look of /etc/opt/SUNWps/desktop/default/Search which has a lot of jsp samples. They show how to search a new created data base. Just change what your new database name according to one of jsp examples and test your result (results.jsp). Jerry
jh23093 at 2007-7-3 23:23:17 > top of Java-index,Web & Directory Servers,Portal Servers...
# 4

I think I understand what you are trying to do. I assume that you have created a new database from the admin console, and now you want to use the robot to index that database?

If that's the case you should be able to specify the database to populate, when defining a site for the robot to crawl. The option to set the database to populate is right at the bottom of the screen of the site editor, after the filter definitions and the advanced option.

Hope this helps.

Chris_Mulder_ZA at 2007-7-3 23:23:17 > top of Java-index,Web & Directory Servers,Portal Servers...
# 5
I do not see that feature when I create a new site, could it be somewhere else, within the console...
Stephane.Dupont at 2007-7-3 23:23:17 > top of Java-index,Web & Directory Servers,Portal Servers...
# 6
Which version of Java Enterprise are you using ?
Chris_Mulder_ZA at 2007-7-3 23:23:17 > top of Java-index,Web & Directory Servers,Portal Servers...
# 7
There is nothing after the Advanced option. the last fiels is called "DNS Translation". And there is nothing after that. I am using Sun Portal server release 6. Could this be the reason? Thx.
ajianfar at 2007-7-3 23:23:17 > top of Java-index,Web & Directory Servers,Portal Servers...
# 8
so is there an easier workaround for this than import agents from flatfiles? (for JES 2004q2 stack)
sbrezi at 2007-7-3 23:23:17 > top of Java-index,Web & Directory Servers,Portal Servers...