[Xapian-discuss] Re: Interactive command line interface to Xapian
Jason White
jasonjgw at internode.on.net
Sun Feb 4 10:47:16 GMT 2007
On 2007-02-04, James Aylett <james-xapian at tartarus.org> wrote:
> Hmm. I suspect with a tiny amount of hackery, the ruby interactive
> shell would be able to do this. (It's better-suited than Python
> because the ruby invocation syntax is a little more friendly.) That's
> the lazy solution, anyway :-)
>From what little I know of Ruby, it is possible to define functions that can
be invoked from irb. The database parameters could be stored as a global
variable.
The other, equally lazy, option is just to use the omega syntax mentioned in
this thread, perhaps with a shell script to simplify it even further to make
it really lazy!
More information about the Xapian-discuss
mailing list