On Thu, May 8, 2008 at 9:04 AM, Aaron Dalton <[EMAIL PROTECTED]> wrote: > Georg Sauer-Limbach wrote: >> >> Use a xindice xmldb URL like this: >> >> xindice.sh add_collection -c xmldb:xindice://127.0.0.1:8080/db/whatever -n >> ........ >> >> Otherwise it uses the default, which is localhost:8888. >> > > I knew that was possible, but I assumed there was some way to alter the > default or in some other way reduce all that extra typing. If not, then I > guess there's not. Is there a reason there is no environment variable or > config flag to alter the default port, given that that is likely the first > thing to change for many people?
Only command line tool understands this way of pointing to Xindice database, where you can omit protocol name, site and port number. Command line tool is rather limited in its functionality, and it is likely that API will be used for anything more or less complex, where full URL to Xindice server is expected. So, it isn't that changing the default port number for command line tool would be too difficult, I guess there just were no requests for that feature. Regards, Natalia > For now I'll just have to use shell expansion. Thanks for the help as I get > my head round all of this! > > -- > Aaron Dalton | Super Duper Games > [EMAIL PROTECTED] | http://superdupergames.org >