[Xapian-discuss] Re: Prefixes

Fabrice Colin fabrice.colin at gmail.com
Thu Feb 1 12:25:11 GMT 2007


On 2/1/07, James Aylett <james-xapian at tartarus.org> wrote:
> > >('file:"My CV.txt"' is similarly not a valid URI. Again, the
> > >application should be fixing things up somehow.)
> >
> > Ah. This one is not a URI, it's a (valid) file name.
>
> Not under Windows is it?, unless you have a driver called 'file' (this
> may not be true of XP+).
>
Who cares about Windows ? ;-)
I was referring to the string after the prefix, ie "My CV.txt".

> > The problem is that "fixing things up" here means pre-processing the
> > string before it's fed to the QueryParser, which partially nullifies
> > the QueryParser's usefulness. Never mind, I will just have to add
> > this to my TODO list :-)
>
> Yeah... it'd be nice if QP could call back for fixups in some way;
> there have been thoughts, but getting it so this would be possible is
> quite a job. Thing is, getting something like a URI into the system
> "pure" is a pretty specialised requirement...
>
Maybe it is yeah. In any case, that's something I need to cater for.

Fabrice



More information about the Xapian-discuss mailing list