Unknown reporter writes

I need to search for lat/lon coordinate in gps files.

These files are .gps, mimetype application/xml.

I tried to add: == .gpx = text/plain == in /usr/share/recoll/examples/mimemap with no result.

No luck with adding the various entries for mimetype application/xml in /usr/share/recoll/examples/mimemap and /usr/share/recoll/examples/mimeconf either.

If somebody could achieve this, this would worth put the how-to in the doc.

Yves on Ubuntu 10.04.

Here n example gpx file, but this should be similar for any xml:

{{{ #!xml

<?xml version="1.0" encoding="UTF-8"? > <gpx version="1.0" creator="GPS Logger" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.topografix.com/GPX/1/0" xsi:schemaLocation="http://www.topografix.com/GPX/1/0 http://www.topografix.com/GPX/1/0/gpx.xsd" >" <time >2009-12-01T10:46:18Z</time > <trk > <trkseg > <trkpt lat="37.671470046043396" lon="21.4323091506958" > <time >2009-12-01T10:46:18Z</time > <speed >0.000000</speed > <name >TP0</name > <fix >none</fix > </trkpt > </trkseg > </trk > </gpx > }}}

medoc writes

Adding ".gpx = text/plain" to /.recoll/mimemap works for me, I can then search for your file’s content (ie: search for 37.64*). As a side remark (this is not the cause of the problem), in general, you should modify the files in /.recoll/, not the ones in /usr/[local/]share/recoll as the latter will be replaced with the next recoll release.

As you seem to have tried several things, maybe you ended up with garbled config files. I’d suggest erasing the current package, reinstalling recoll-1.13-04 (that’s the version I tested with) from the PPA, and do the mimemap modification above, things should work (or your system is haunted :)) jf

Unknown User writes

I purged and reinstalled 1.13.04-0ppa2lucid1, and my system should be haunted because I can’t find anything in those files !

medoc writes

Sorry for the bad joke, I really expected that the cleanup would cure the problem.

We need to look at the log file. As this is a common operation, I wrote a small Wiki page about how to do this. Please follow the steps on http://bitbucket.org/medoc/recoll/wiki/WhyIsMyFileNotIndexed

Then, either post the results here, or contact me by email: jfd@recoll.org

medoc writes

Assuming this is resolved.

Unknown User writes

Sorry, but you really should have pasted the information here also

LaRosch writes

Somewhat related: I disabled the antiword helper - because I did not realise that something with that name (cf.: anti) would allow indexing of Word documents - and now I cannot discover how to re-enable it.

EDIT: Ah, is it a matter of install packages on my system (which would explain why the only time Recoll offers a dialogue box about helpers is when Recoll is first run)?