yann_rouillard writes

Hi,

I may have missed something but I don’t understand how to do a simple filename search instead of a search by query language string with the Python recoll api.

Is it possible currently ?

Yann

medoc writes

Hi,

You can search for file names by building a "Searchdata" object and using this instead of a query language string. This is seriously under-documented in the user manual (but you’ll find a mention if you search for "Searchdata"…) I just updated the sample program:

miteshsparmar writes

thanks medoc i had same query ..

medoc writes

Solved as far as I can see…

yann_rouillard writes

Yes, thanks a lot.

In fact, I was using an older version of recoll that didn’t support the filename clause. With an upgrade and thanks to your samle program, everything is fine.

Yann