Skip to Content
author's profile photo Former Member
Former Member

Exclude filenames from TREX index

Hi,

Is it possible to exclude filenames from being indexed? Example: You have the files file_1.doc, file_2.doc. You create an index of those files and then search for "file". The two files are found, even if in their content the word "file" does not appear.

Any ideas?

Thanks,

Geert

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jan 19, 2005 at 11:05 AM

    Hi Geert,

    this effect is of course intentional, as usually file names try to describe a files content.

    Undortunately, I do not think you can change this by configuration.

    Regards, Karsten

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      The intention for taking into account the filename for indexing purposes is indeed very logical.

      The documents I want to index have an historical grown 'naming convention'. The file names sort of include the metadata of the files.

      If not possible through modifying TREX parameters, anyone an idea if it is possible to solve this through programming + how to start with that?

      I did check the TREX API but I did not find any class that could enable me to make TREX ignore filenames from being indexed.

      Thanks,

      Geert

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.