Re: [Tracker] Full text search indexes only the first 64KiB of plaintext files?



On 23/05/11 13:30, Aavo Tambur wrote:
Hi!

Hi,

The full text search of Tracker does not seem to index anything beyond
the first 64KiB of plaintext files.

That value is not hard set upstream AFAIK. What version of Tracker are you using ?

The command "tracker-info" of the file lists exactly the 64KiB as
nie:plainTextContent.

I thought I could use tracker to search within my source code files,
many of which are way bigger than 64KiB.
Why is that and is this something that can be changed?

Depending on the version of Tracker, you can either change your .cfg file or GSettings. But there is an FTS config:

$HOME/.config/tracker/tracker-fts.cfg:

  MaxWordsToIndex=10000

$HOME/.config/tracker/tracker-extract.cfg:

  MaxBytes=1048576

It may vary if distros patch this config.

--
Regards,
Martyn



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]