xml-xindice-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Natalia Shilenkova" <nshilenk...@gmail.com>
Subject Re: xindice tool and port number
Date Fri, 09 May 2008 12:25:50 GMT
On Thu, May 8, 2008 at 9:04 AM, Aaron Dalton <aaron@daltons.ca> 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
> aaron@daltons.ca   |   http://superdupergames.org
>

Mime
View raw message