lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lude <>
Subject Re: Best Practice: emails and file-attachments
Date Wed, 16 Aug 2006 12:23:21 GMT
Hi Johan,

thanks again for the many words and explanations!

> You also mentioned indexing each bodypart ("attachment") separately.
> Why? ....
> To my mind, there is no use case where it makes sense to search a
particular bodypart

I will give you the use case:

1.)  User searches for "abcd"
2.) Lucene matches the searchterm (at least) two times:
    - One email has the term in the plain message text   (mail-1)
    - One email contains five "file-attachment". One of this files matches
the search term  (mail-2)
3.) The result list would show this:
    1.   mail-1  'subject'
         'Abstract of the message-text'
    2.   mail-2 'subject'
         Attachment with name 'filename.doc' contains 'Abstract of

Another Use-Case would be an extended search, which allows to select if
"attached files"
should be searched (yes or no).



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message