Re: exclude folder in dataimport handler.

2015-08-24 Thread coolmals
I used this to exclude files from folders of templatedata. But it still couldnt remove these files from indexing When I save the value of this expression in temp variable, all files in templatedata have value true but still they are not skipped to index. -- View this messag

Re: exclude folder in dataimport handler.

2015-08-21 Thread Alexandre Rafalovitch
A transformer on the outer entity will run before the inner entity is invoked. So, you might be able to remove the list of files to ignore before the inner entity starts extracting from them. You could also pre-generate a list of files by doing ls/find with your requirements and then just read tha

RE: exclude folder in dataimport handler.

2015-08-21 Thread coolmals
Can you give me a brief description on how to use a transformer to excludes docs from a folder? -- View this message in context: http://lucene.472066.n3.nabble.com/exclude-folder-in-dataimport-handler-tp4224267p4224489.html Sent from the Solr - User mailing list archive at Nabble.com.

RE: exclude folder in dataimport handler.

2015-08-20 Thread Dyer, James
I took a quick look at FileListEntityProcessor#init, and it looks like it applies the "excludes" regex to the filename element of the path only, and not to the directories. If your filenames do not have a naming convention that would let you use it this way, you might be able to write a transfo