[Xapian-discuss] help me please! Date range search support problem

Olly Betts olly at survex.com
Sat Nov 21 12:10:44 GMT 2009


On Fri, Nov 20, 2009 at 09:53:17PM +0800, Lingjuan Peng wrote:
> and when i run the program,the output is " parsed query is :
> Xapian::Query((usa:(pos=1) FILTER VALUE_RANGE 0  ))"
> that means the begin time and end time didn't transfer to the program.please
> tell me how to do ? thank you very much!

My guess is that the start and end of the range are encoded as strings of
non-printing characters.  Try piping the output through "cat -vet" to show
them if they are.

If not, please post more complete code - ideally something I can run myself
and get the same output as you do.

Cheers,
    Olly



More information about the Xapian-discuss mailing list