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 

  field column=$skipDoc 
regex=.*\\avon-br\\templatedata\\.* replaceWith=true
sourceColName=fileAbsolutePath/

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 message in context: 
http://lucene.472066.n3.nabble.com/exclude-folder-in-dataimport-handler-tp4224267p4224920.html
Sent from the Solr - User mailing list archive at Nabble.com.


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.


exclude folder in dataimport handler.

2015-08-20 Thread coolmals
I am importing files from my file system and want to exclude import of files
from folder called templatedata. How do i configure that in entity. 
excludes=templatedata doesnt seem to work.

 entity name=files dataSource=null rootEntity=false
processor=FileListEntityProcessor
baseDir=E:\Malathy\ fileName=.*\.* excludes=templatedata
pk=id 
onError=skip
recursive=true




--
View this message in context: 
http://lucene.472066.n3.nabble.com/exclude-folder-in-dataimport-handler-tp4224267.html
Sent from the Solr - User mailing list archive at Nabble.com.


Solr start with existing collection

2015-08-17 Thread coolmals
I am a new user to solr. I want to start my solr service without creating any
core/collection and using the existing core/ collection. Can you let me know
how?

I have already created a collection and have indexed my data in that. My
server is stopped and i want to restart the server using the existing
collection which has indexed data. Can you let me know how?



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-start-with-existing-collection-tp4223456.html
Sent from the Solr - User mailing list archive at Nabble.com.


Solr indexing based on last_modified

2015-08-17 Thread coolmals
I want to update the index of a file only if last_modified has changed in the
file. I am running post.jar with fileTypes=*, i would want to update the
index of the files only if there is any change in them since the last update
of index. Can you let me know how to achieve this?



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-indexing-based-on-last-modified-tp4223506.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Solr indexing based on last_modified

2015-08-17 Thread coolmals
I have a file system. I have a scheduler which will call solr in scheduled
time interval. Any updates to the file system must be indexed by solr. Only
changes must be re-indexed as file system is huge and cannot be re-indexed
every time.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-indexing-based-on-last-modified-tp4223506p4223511.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Adding additional file types for indexing

2015-08-14 Thread coolmals
Thanks for your response. I used the -Dfiletypes=* when executing post.jar
but png image files alone are not getting indexed. It gives 400 error


response
lst name=responseHeader
int name=status400/int
int name=QTime1/int
/lst
lst name=error
str name=msgmissing content stream/str
int name=code400/int
/lst
/response

Can you let me know if there is any seperate configuration for png images?
other images like jpg seems to be indexed well.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Adding-additional-file-types-for-indexing-tp4222845p4222977.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Adding additional file types for indexing

2015-08-14 Thread coolmals
Ok. Quoting also doesnt seem to fix the png image issue. Any idea on indexing
png images?



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Adding-additional-file-types-for-indexing-tp4222845p4222987.html
Sent from the Solr - User mailing list archive at Nabble.com.


Adding additional file types for indexing

2015-08-13 Thread coolmals
I am a new user to Solr. I am trying to index images using solr. Currently
the jpg, png etc image files are skipped in auto mode 

Entering auto mode. File endings considered are
xml,json,csv,pdf,doc,docx,ppt,pptx,xls,xlsx,odt,odp,ods,ott,otp,ots,rtf,
htm,html,txt,log

only these files are indexed. How to index additional file types. Is there a
configuration to add new file types for indexing?

Regards,
Malathy



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Adding-additional-file-types-for-indexing-tp4222845.html
Sent from the Solr - User mailing list archive at Nabble.com.


Indexing delta changes

2015-08-13 Thread coolmals
I am indexing huge list of files in a content management system. These files
are subject to regular updates. I may have to re-index them regularly to
keep my search effective. Is there a way to just re-index the delta changes
everytime? I am dealing with a very huge list of files, hence it is
impossible to re-index all the files everytime to keep the index sync with
file system.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Indexing-delta-changes-tp4222881.html
Sent from the Solr - User mailing list archive at Nabble.com.