jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting" <jukka.zitt...@gmail.com>
Subject Re: Search binary file before adding to repository
Date Thu, 16 Aug 2007 13:10:12 GMT
Hi,

On 8/16/07, bilobag <bilobag@hotmail.com> wrote:
> That is def a good idea, however I need to make sure this file isn't on the
> same physical drive as the repository due to security concerns.  Therefore I
> assume I would have to set up another repository which seems complicated to
> me.  I was hoping i could search the file before I add it...if it has one of
> the keywords....i can save the file to a mounted drive.  Please let me know
> of any way to search the file before it goes into the repository.  Thanks.

You could call the text extractors directly and feed the extracted
text to a Lucene analyzer to get all the keywords, but that requires
some glue code to be written.

BR,

Jukka Zitting

Mime
View raw message