Awakening the dead... On 6/29/07, jamie <jamiemcc blueyonder co uk> wrote:
we only index the first 10,000 unique words in any one doc and/or only the first 1mb of text I believe the maximum text size limit can be adjusted in the config file but the word limit is hardcoded (which needs to be changed to use a config var). Note these settings greatly affect memory usage of trackerd when indexing.
So, here's a patch to add support for the config key MaxWordsToIndex which is stored in tracker->max_words_to_index and initialized by default by the macro MAX_WORDS_TO_INDEX defined in tracker-utils.h. This key will also be added to the default config written by trackerd.
I will look at adding support for these in the tracker-preferences UI in the near future
So, as before, no tracker-preferences support from me... As max_index_text_length and now also max_words_to_index is sanitized to 0 if insane ;) I hope it is OK to add yet another field to the Tracker structure. Kind regards, Marcus
Attachment:
patch_max_words_to_index.diff
Description: Text Data