Auto Indexing in Solr

2013-07-25 Thread archit2112
Hi Im using Solr 4's Data Import Utility to index Oracle 10g XE database. Im using full imports as well as delta imports. I want these processes to be automatic. (Eg: The import processes can be timed or should be executed as soon any data in the database is modified). I searched for the same

Re: Auto Indexing in Solr

2013-07-25 Thread archit2112
I have to execute this command for full-import http://localhost:8983/solr/dataimport?command=full-import Can you explain how do i use the java timer to fire this HTTP request. -- View this message in context: http://lucene.472066.n3.nabble.com/Auto-Indexing-in-Solr-tp4080233p4080278.html

Timestamp compatibility while performing delta import in solr

2013-07-24 Thread archit2112
Im new to solr.I have successfully indexed oracle 10g xe database. Im trying to perform delta import on the same. The Delta query required a comparison of last_modified column of the table with ${dih.last_index_time}. However in my application I do not have such a column . Also, i cannot add this

Indexing Oracle Database in Solr using Data Import Handler

2013-07-23 Thread archit2112
Im trying to Index oracle database 10g XE using Solr's Data Import Handler. My data-config.xml looks like this dataConfig dataSource type=JdbcDataSource driver=oracle.jdbc.OracleDriver url=jdbc:oracle:thin:@XXX.XXX.XXX.XXX::xe user=XX password=XX / document name=product_info

Index mysql database using data import handler in solr

2013-07-11 Thread archit2112
I want to index mysql database in solr using the Data Import Handler. I have made two tables. The first table holds the metadata of a file. create table filemetadata ( id varchar(20) primary key , filename varchar(50), path varchar(200), size varchar(10), author

Indexing database in Solr using Data Import Handler

2013-07-10 Thread archit2112
Im trying to index MySql database using Data Import Handler in solr. I have made two tables. The first table holds the metadata of a file. create table filemetadata ( id varchar(20) primary key , filename varchar(50), path varchar(200), size varchar(10), author varchar(50) ) ; The second table

Extract file name (without extension) while indexing using Data Import Handler in Solr

2013-07-03 Thread archit2112
Im successfully able to index pdf,doc,ppt,etc files using the Data Import Handler in solr 4.3.0 . My data-config.xml looks like this - dataConfig dataSource name=bin type=BinFileDataSource / document entity name=f dataSource=null rootEntity=false

Re: Unique key error while indexing pdf files

2013-07-02 Thread archit2112
Can you please suggest a way (with example) of assigning this unique key to a pdf file? -- View this message in context: http://lucene.472066.n3.nabble.com/Unique-key-error-while-indexing-pdf-files-tp4074314p4074588.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Unique key error while indexing pdf files

2013-07-02 Thread archit2112
Okay. Can you please suggest a way (with an example) of assigning this unique key to a pdf file. Say, a unique number to each pdf file. How do i achieve this? -- View this message in context: http://lucene.472066.n3.nabble.com/Unique-key-error-while-indexing-pdf-files-tp4074314p4074592.html

Re: Unique key error while indexing pdf files

2013-07-02 Thread archit2112
Yes. The absolute path is unique. -- View this message in context: http://lucene.472066.n3.nabble.com/Unique-key-error-while-indexing-pdf-files-tp4074314p4074620.html Sent from the Solr - User mailing list archive at Nabble.com.

Removal of unique key - Query Elevation Component

2013-07-02 Thread archit2112
I want to index pdf files in solr 4.3.0 using the data import handler. I have done the following: My request handler - requestHandler name=/dataimport class=org.apache.solr.handler.dataimport.DataImportHandler lst name=defaults str name=configdata-config.xml/str /lst

Re: Removal of unique key - Query Elevation Component

2013-07-02 Thread archit2112
Thanks! The author_s issue has been resolved. Why are the other fields not getting indexed ? -- View this message in context: http://lucene.472066.n3.nabble.com/Removal-of-unique-key-Query-Elevation-Component-tp4074624p4074636.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Unique key error while indexing pdf files

2013-07-02 Thread archit2112
Yes. The absolute path is unique. How do i implement it? can you please explain? -- View this message in context: http://lucene.472066.n3.nabble.com/Unique-key-error-while-indexing-pdf-files-tp4074314p4074638.html Sent from the Solr - User mailing list archive at Nabble.com.

Index pdf files.

2013-07-01 Thread archit2112
Hi I'm new to Solr. I want to index pdf files usng the Data Import Handler. Im using Solr-4.3.0. I followed the steps given in this post http://lucene.472066.n3.nabble.com/indexing-with-DIH-and-with-problems-td3731129.html However, I get the following error - Full Import

Re: Index pdf files.

2013-07-01 Thread archit2112
Hi Thanks a lot. I did what you said. Now I'm getting the following error. Full Import failed:java.lang.RuntimeException: java.lang.RuntimeException: java.util.regex.PatternSyntaxException: Dangling meta character '*' near index 0 -- View this message in context:

Re: Index pdf files.

2013-07-01 Thread archit2112
I figured it out. It was a problem with the regular expression i used in data-config.xml . -- View this message in context: http://lucene.472066.n3.nabble.com/Index-pdf-files-tp4074278p4074304.html Sent from the Solr - User mailing list archive at Nabble.com.

Unique key error while indexing pdf files

2013-07-01 Thread archit2112
Hi Im trying to index pdf files in solr 4.3.0 using the data import handler. *My request handler - * requestHandler name=/dataimport1 class=org.apache.solr.handler.dataimport.DataImportHandler lst name=defaults str name=configdata-config1.xml/str /lst /requestHandler *My

Re: Unique key error while indexing pdf files

2013-07-01 Thread archit2112
Im new to solr. Im just trying to understand and explore various features offered by solr and their implementations. I would be very grateful if you could solve my problem with any example of your choice. I just want to learn how i can index pdf documents using data import handler. -- View this