Well the problem is that I am not allowed to add this file to the repository
for security reasons if it has one of the specified words.  So I need a way
to search the file in memory....then prevent the file from being added to
the repository if it has one of the specified words.  Any ideas?



Anton Gavazuk wrote:
> 
> I suggest If you know the set of certain keywords before you add file to
> repository you can build some type of marker or index on these keywords on
> the file and put it (marker) in property of node with file
> 
> 2007/8/15, bilobag <[EMAIL PROTECTED]>:
>>
>>
>> Hi everyone, does anyone know of a way that I can search a binary file
>> before
>> it gets added and indexed in the repository?  I need to check to make
>> sure
>> a
>> file does not have certain keywords before I can add the file.  I think I
>> can use Lucene, but I'm not sure the best way to do it.  Ideally i'd like
>> to
>> search the file using the text extractors that I already have configured
>> in
>> my search index.  Any ideas?
>> --
>> View this message in context:
>> http://www.nabble.com/Search-binary-file-before-adding-to-repository-tf4274313.html#a12165905
>> Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Search-binary-file-before-adding-to-repository-tf4274313.html#a12169667
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Reply via email to