Commit Graph

250 Commits

Author SHA1 Message Date
Shalin Shekhar Mangar d501b33bc8 SOLR-842 -- Better error handling in DataImportHandler with options to abort, skip and continue imports
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@713335 13f79535-47bb-0310-9956-ffa450edef68
2008-11-12 09:51:12 +00:00
Shalin Shekhar Mangar eb61617911 Do not show "Processing Document # " in exception messages if exceptions comes before the import process.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@712639 13f79535-47bb-0310-9956-ffa450edef68
2008-11-10 10:01:27 +00:00
Shalin Shekhar Mangar 9cb45e3214 SOLR-782 -- DIH code cleanup -- load evaluators lazily.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@712635 13f79535-47bb-0310-9956-ffa450edef68
2008-11-10 09:36:23 +00:00
Shalin Shekhar Mangar 49d7932a92 SOLR-838 -- The VariableResolver obtained from a DataSource's context does not have current data
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@712067 13f79535-47bb-0310-9956-ffa450edef68
2008-11-07 05:51:41 +00:00
Ryan McKinley 1d013a1e79 replacing deprecated StringBufferInputStream with ByteArrayInputStream -- removing unused imports
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@712017 13f79535-47bb-0310-9956-ffa450edef68
2008-11-06 23:54:20 +00:00
Erik Hatcher 965f609838 test placeholder - tests will be forthcoming, promise
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@709668 13f79535-47bb-0310-9956-ffa450edef68
2008-11-01 10:34:39 +00:00
Erik Hatcher d9407baa70 Wire in a SolrResourceLoader bridge for Velocity templates, allowing a JAR of templates to live in conf/lib. Refactored the footer.vm template to use this mechanism as an example.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@709649 13f79535-47bb-0310-9956-ffa450edef68
2008-11-01 04:49:56 +00:00
Ryan McKinley 028e364415 SOLR-620: change html script header... now works in FF
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@709505 13f79535-47bb-0310-9956-ffa450edef68
2008-10-31 17:55:09 +00:00
Erik Hatcher 4c5bf18559 SOLR-620: First draft
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@709499 13f79535-47bb-0310-9956-ffa450edef68
2008-10-31 17:33:02 +00:00
Shalin Shekhar Mangar 96b0ebc980 SOLR-832 -- Rows parameter is not honored in non-debug mode and can abort a running import in debug mode.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@709352 13f79535-47bb-0310-9956-ffa450edef68
2008-10-31 05:32:03 +00:00
Shalin Shekhar Mangar 68add68a6f SOLR-742 -- More code cleanup
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@709088 13f79535-47bb-0310-9956-ffa450edef68
2008-10-30 05:21:18 +00:00
Shalin Shekhar Mangar 19c70e9df5 SOLR-742 -- Add ability to create dynamic fields with custom DataImportHandler transformers
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@708967 13f79535-47bb-0310-9956-ffa450edef68
2008-10-29 18:05:26 +00:00
Shalin Shekhar Mangar a61286806e Moving abort outside of importLock. Abort does not need to acquire a lock.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@708810 13f79535-47bb-0310-9956-ffa450edef68
2008-10-29 07:16:42 +00:00
Shalin Shekhar Mangar f12ed3dee6 Return iif lock could not be obtained.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@708511 13f79535-47bb-0310-9956-ffa450edef68
2008-10-28 10:27:08 +00:00
Shalin Shekhar Mangar bbde265bfe Forgot to remove lock after changing isLocked to tryLock
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@708491 13f79535-47bb-0310-9956-ffa450edef68
2008-10-28 09:30:33 +00:00
Shalin Shekhar Mangar dec0603c36 Use tryLock instead of isLocked
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@708487 13f79535-47bb-0310-9956-ffa450edef68
2008-10-28 09:05:14 +00:00
Shalin Shekhar Mangar 1e5562a910 SOLR-728 -- Add synchronization to avoid race condition of multiple imports working concurrently
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@707295 13f79535-47bb-0310-9956-ffa450edef68
2008-10-23 06:54:56 +00:00
Shalin Shekhar Mangar ca6e3f100f SOLR-823 -- Request parameter variables ${dataimporter.request.xxx} are not resolved
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@707287 13f79535-47bb-0310-9956-ffa450edef68
2008-10-23 06:16:45 +00:00
Shalin Shekhar Mangar 3803c42a6b SOLR-811 -- Allow a "deltaImportQuery" attribute in SqlEntityProcessor which is used for delta imports instead of DataImportHandler manipulating the SQL itself
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@706588 13f79535-47bb-0310-9956-ffa450edef68
2008-10-21 11:57:56 +00:00
Shalin Shekhar Mangar be8a3a53ff SOLR-782 -- Refactored SolrWriter to make it a concrete class and removed wrappers over SolrInputDocument
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@706542 13f79535-47bb-0310-9956-ffa450edef68
2008-10-21 07:05:39 +00:00
Shalin Shekhar Mangar bdb1d606f0 SOLR-800 -- Deep copy collections to avoid ConcurrentModificationException in XPathEntityprocessor while streaming
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@704365 13f79535-47bb-0310-9956-ffa450edef68
2008-10-14 07:51:43 +00:00
Grant Ingersoll 8566f15204 print what the bad baseDir value is
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@701222 13f79535-47bb-0310-9956-ffa450edef68
2008-10-02 19:38:30 +00:00
Shalin Shekhar Mangar 0507ce4512 Adding a test case for reading multi valued fields from xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@698707 13f79535-47bb-0310-9956-ffa450edef68
2008-09-24 20:03:58 +00:00
Shalin Shekhar Mangar 3f62c69a91 SOLR-768 -- Set last_index_time variable in full-import command.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@697373 13f79535-47bb-0310-9956-ffa450edef68
2008-09-20 14:48:54 +00:00
Ryan McKinley 3c9db8e311 SOLR-560: Use SLF4J logging API rather then JDK logging. The packaged .war file is
shipped with a JDK logging implementation, so logging configuration for the .war should
    be identical to solr 1.3.  However, if you are using the .jar file, you can select 
    which logging implementation to use by dropping a different binding.  
    See: http://www.slf4j.org/  

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@696539 13f79535-47bb-0310-9956-ffa450edef68
2008-09-18 02:16:26 +00:00
Grant Ingersoll 2b90e1273e more missing headers
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@693622 13f79535-47bb-0310-9956-ffa450edef68
2008-09-09 21:21:06 +00:00
Shalin Shekhar Mangar c5d5dcfb8e Adding Walter's name since he reported the bug.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@690132 13f79535-47bb-0310-9956-ffa450edef68
2008-08-29 07:03:13 +00:00
Shalin Shekhar Mangar aa9ff47086 SOLR-726 -- Jdbc Drivers and DataSources fail to load if placed in multicore sharedLib or core's lib directory.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@690131 13f79535-47bb-0310-9956-ffa450edef68
2008-08-29 07:00:48 +00:00
Shalin Shekhar Mangar 9a89d44c88 SOLR-729 -- Context.getDataSource(String) gives current entity's DataSource instance regardless of argument.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@689867 13f79535-47bb-0310-9956-ffa450edef68
2008-08-28 16:04:45 +00:00
Shalin Shekhar Mangar d8822fee8d Fixed spelling mistake -- rumCmd to runCmd
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@689717 13f79535-47bb-0310-9956-ffa450edef68
2008-08-28 04:29:55 +00:00
Grant Ingersoll 485730a5b9 forgot some groupIds
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@687175 13f79535-47bb-0310-9956-ffa450edef68
2008-08-19 21:59:05 +00:00
Grant Ingersoll 5e74022bab Updated POM templates to use o.a.solr instead of o.a.lucene.solr per Maven recommendations
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@687158 13f79535-47bb-0310-9956-ffa450edef68
2008-08-19 21:14:45 +00:00
Shalin Shekhar Mangar 0ab15a39be Fixed typo in error message
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@686776 13f79535-47bb-0310-9956-ffa450edef68
2008-08-18 14:49:04 +00:00
Shalin Shekhar Mangar 57d0afc064 Do not try to create connections at core startup
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@686619 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 15:41:59 +00:00
Shalin Shekhar Mangar d00a997ad7 SOLR-704 -- NumberFormatTransformer can silently ignore part of the string while parsing. Now it tries to use the complete string for parsing. Failure to do so will result in an exception.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@686196 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 11:53:34 +00:00
Shalin Shekhar Mangar 0291a24619 SOLR-700 -- Allow configurable locales through a locale attribute in fields for NumberFormatTransformer.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@686176 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 08:49:35 +00:00
Shalin Shekhar Mangar 4406bbcfec SOLR-586 -- Added ant target and POM files for building maven artifacts of the Solr core, common, client and contrib. The target can publish artifacts with source and javadocs.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@685497 13f79535-47bb-0310-9956-ffa450edef68
2008-08-13 10:08:04 +00:00
Shalin Shekhar Mangar b25d5b3a33 1. Moving solr-jar to common-build.xml so it can be used by contribs
2. Adding correct manifest information to DataImportHandler jar

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@685164 13f79535-47bb-0310-9956-ffa450edef68
2008-08-12 14:24:57 +00:00
Shalin Shekhar Mangar af1cfa9d00 Catch Exception instead of ClassNotFoundException because SolrResourceLoader throws SolrException on class not found
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@684767 13f79535-47bb-0310-9956-ffa450edef68
2008-08-11 15:00:54 +00:00
Shalin Shekhar Mangar 2ff01c14b9 Adding java classpath to DataImportHandler tests. This should hopefully take care of the error in executing clover target in the nightly builds.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@684311 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 18:26:16 +00:00
Shalin Shekhar Mangar a29a3aee26 SOLR-676 -- DataImportHandler should use UpdateRequestProcessor API instead of directly using UpdateHandler
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@684307 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 17:53:04 +00:00
Shalin Shekhar Mangar a557dff545 Changed mention of interface in javadocs to abstract classes
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@684025 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 17:50:11 +00:00
Shalin Shekhar Mangar 02bce802dc 1. Create test reports for contrib tests in build/test-results.
2. Remove dataimport.properties created by tests in src/test/resources

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@683516 13f79535-47bb-0310-9956-ffa450edef68
2008-08-07 05:47:01 +00:00
Shalin Shekhar Mangar 3f20de6ba4 SOLR-469 -- Support for streaming xpath parsing and solr add xml (the lost code between DIH patches)
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@682383 13f79535-47bb-0310-9956-ffa450edef68
2008-08-04 13:36:55 +00:00
Shalin Shekhar Mangar cdc38d0811 Renamed mis-spelled method
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@682378 13f79535-47bb-0310-9956-ffa450edef68
2008-08-04 13:20:27 +00:00
Shalin Shekhar Mangar 40f8ad057a Fixing all reported javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@682376 13f79535-47bb-0310-9956-ffa450edef68
2008-08-04 13:18:19 +00:00
Shalin Shekhar Mangar b8c2b71e61 SOLR-673 -- Modify build file to create javadocs for core, solrj, contrib and "all inclusive"
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@682262 13f79535-47bb-0310-9956-ffa450edef68
2008-08-04 05:56:10 +00:00
Shalin Shekhar Mangar dd946e7e54 Fixed directory name for DataImportHandler's javadoc target
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@681606 13f79535-47bb-0310-9956-ffa450edef68
2008-08-01 06:26:35 +00:00
Shalin Shekhar Mangar ccb0ce8080 Removing files generated by DataImportHandler tests.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@681334 13f79535-47bb-0310-9956-ffa450edef68
2008-07-31 10:49:27 +00:00
Shalin Shekhar Mangar 79e77502f6 SOLR-469 -- Added DataImportHandler as a contrib project.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@681182 13f79535-47bb-0310-9956-ffa450edef68
2008-07-30 19:35:58 +00:00