Menu

#80 File Indexing - 2

open
nobody
None
5
2006-05-19
2006-05-19
Steve Pugh
No

After trying Chris's patch for File Indexing (patch
#1465604), I found an additional issue when using
Lucene as the indexer: attachments were still being
indexed with the owning document.

I have made an additional change to TextContentProvider
which should prevent this from happenening. It is
similar to the existing change in
ContentItemMetadataProvider.

Discussion

  • Steve Pugh

    Steve Pugh - 2006-05-19

    attachment indexing patch

     
  • chris gilbert

    chris gilbert - 2006-05-26

    Logged In: YES
    user_id=1069385

    Another Issue I've just spotted - Although items can be
    indexable or not, this only applies when items are new -
    if an items becomes non indexable when edited then it
    remains in the search results.

    The example I have hit is in moderated forum posts. Until
    they are approved they are not indexed. But if they are
    approved and subsequently rejected they remain in search
    results.

    I have coded the fix, and will submit the change as an
    additional patch to be applied over these first two once I
    have tested it.

    I have also renamed the new method in MetadataProvider
    interface to isIndexable as suggested by Steve as it does
    sound much more correct.

    Chris.....

     
  • chris gilbert

    chris gilbert - 2006-07-17

    Logged In: YES
    user_id=1069385

    Integrated to trunk at R1259 - 1262. See comments in Patch
    1465604 (File Indexing)

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.