[Xapian-discuss] Re: Prefixes
James Aylett
james-xapian at tartarus.org
Wed Jan 31 13:55:07 GMT 2007
On Wed, Jan 31, 2007 at 09:50:31PM +0800, Fabrice Colin wrote:
> To be honest, termprefixes.txt doesn't specify that the U prefix is for
> a "valid URI". It just says the "full URL". I know I am splitting hairs :-)
<grins>
URLs don't exist :-)
> >('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+).
> 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...
J
--
/--------------------------------------------------------------------------\
James Aylett xapian.org
james at tartarus.org uncertaintydivision.org
More information about the Xapian-discuss
mailing list