Commit Graph

68 Commits

Author SHA1 Message Date
Shalin Shekhar Mangar 33f9318049 SOLR-999 -- XPathRecordReader fails on XMLs with nodes mixed with CDATA content
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@739962 13f79535-47bb-0310-9956-ffa450edef68
2009-02-02 11:30:18 +00:00
Shalin Shekhar Mangar 8220d4383e SOLR-980 -- A PlainTextEntityProcessor which can read from any DataSource<Reader> and output a String
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@738401 13f79535-47bb-0310-9956-ffa450edef68
2009-01-28 08:30:02 +00:00
Shalin Shekhar Mangar 100d85d8a6 SOLR-974 -- DataImportHandler skips commit if no data has been updated
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@738020 13f79535-47bb-0310-9956-ffa450edef68
2009-01-27 07:49:22 +00:00
Shalin Shekhar Mangar 0d6494cb75 SOLR-988 -- Add a new scope for session data stored in Context to store objects across imports
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@738015 13f79535-47bb-0310-9956-ffa450edef68
2009-01-27 07:21:52 +00:00
Shalin Shekhar Mangar e36809b163 SOLR-985 -- Fix thread-safety issue with TemplateString for concurrent imports with multiple cores
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@737771 13f79535-47bb-0310-9956-ffa450edef68
2009-01-26 18:00:06 +00:00
Shalin Shekhar Mangar 9b1cd911f6 SOLR-801 followup -- Fix for failing test
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@737652 13f79535-47bb-0310-9956-ffa450edef68
2009-01-26 08:45:01 +00:00
Shalin Shekhar Mangar 4ee827471d SOLR-801 -- Add support for configurable pre-import and post-import delete query per root-entity
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@737555 13f79535-47bb-0310-9956-ffa450edef68
2009-01-25 18:05:41 +00:00
Shalin Shekhar Mangar fa5b4e8f04 SOLR-964 -- XPathEntityProcessor now ignores DTD validations
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@736616 13f79535-47bb-0310-9956-ffa450edef68
2009-01-22 12:12:24 +00:00
Shalin Shekhar Mangar ccb41af767 Adding null check for multi valued fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@735696 13f79535-47bb-0310-9956-ffa450edef68
2009-01-19 14:17:58 +00:00
Shalin Shekhar Mangar 38b37b1942 SOLR-955 -- Removed hardcoded value for Types.VARCHAR in JdbcDataSource
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@734801 13f79535-47bb-0310-9956-ffa450edef68
2009-01-15 20:23:22 +00:00
Shalin Shekhar Mangar 0bae610c14 SOLR-938 -- Add event listener API for import start and end
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@732695 13f79535-47bb-0310-9956-ffa450edef68
2009-01-08 12:52:16 +00:00
Shalin Shekhar Mangar cfff37dff1 Make sure data source is set to null after closing it to avoid re-use
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@731513 13f79535-47bb-0310-9956-ffa450edef68
2009-01-05 10:12:18 +00:00
Shalin Shekhar Mangar f342cd14df SOLR-942 -- Different Fields with same column and different names do not work
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@730059 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 07:19:26 +00:00
Shalin Shekhar Mangar 9f6e8ea8ec SOLR-782 followup -- Removed multiple document nodes in the configuration xml. Removed support for 'default' variables, they are automatically available as request parameters.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@730055 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 06:42:48 +00:00
Chris M. Hostetter c7b3ca5d16 SOLR-924: Code cleanup: make all existing finalize() methods call super.finalize() in a finally block
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@728336 13f79535-47bb-0310-9956-ffa450edef68
2008-12-20 20:03:30 +00:00
Shalin Shekhar Mangar aeb6b9975f SOLR-886 -- Removing the change for requestParameters.optimize which is not needed
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@727358 13f79535-47bb-0310-9956-ffa450edef68
2008-12-17 12:38:32 +00:00
Shalin Shekhar Mangar e113e465be git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@727357 13f79535-47bb-0310-9956-ffa450edef68 2008-12-17 12:34:25 +00:00
Shalin Shekhar Mangar 80dea5625e SOLR-910 -- Add a few utility commands to the DIH admin page such as full import, delta import, status, reload config
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@726512 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 18:30:38 +00:00
Shalin Shekhar Mangar f42b62c1d7 SOLR-888 -- Fixing null pointer bug introduced by last commit for this issue
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@726510 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 18:28:42 +00:00
Shalin Shekhar Mangar 133f1f4031 SOLR-812 -- Configurable JDBC settings in JdbcDataSource including optimized defaults for read only mode
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@726241 13f79535-47bb-0310-9956-ffa450edef68
2008-12-13 17:38:00 +00:00
Shalin Shekhar Mangar 7d8a67dc01 SOLR-909 -- Removing redundant NamedList member in DataImportHandler
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@726231 13f79535-47bb-0310-9956-ffa450edef68
2008-12-13 16:49:10 +00:00
Shalin Shekhar Mangar 843ce957a9 SOLR-891 -- A Transformer to read strings from Clob type
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@725926 13f79535-47bb-0310-9956-ffa450edef68
2008-12-12 07:02:09 +00:00
Shalin Shekhar Mangar c1d1c274ae SOLR-884 -- CachedSqlEntityProcessor should check if the cache key is present in the query results
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@725684 13f79535-47bb-0310-9956-ffa450edef68
2008-12-11 13:43:23 +00:00
Shalin Shekhar Mangar 714d1c7ad7 SOLR-841 -- DataImportHandler should throw exception if a field does not have column attribute
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@725635 13f79535-47bb-0310-9956-ffa450edef68
2008-12-11 09:39:31 +00:00
Shalin Shekhar Mangar cf0a31f1f7 SOLR-846 -- Reduce memory consumption during delta import by removing keys when used
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@725627 13f79535-47bb-0310-9956-ffa450edef68
2008-12-11 09:05:39 +00:00
Shalin Shekhar Mangar 7549d04c32 SOLR-888 -- DateFormatTransformer cannot convert non-string type
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@725618 13f79535-47bb-0310-9956-ffa450edef68
2008-12-11 08:34:08 +00:00
Shalin Shekhar Mangar 71c18d5b3c SOLR-886 -- DataImportHandler should rollback when an import fails or it is aborted
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@725616 13f79535-47bb-0310-9956-ffa450edef68
2008-12-11 08:25:38 +00:00
Shalin Shekhar Mangar 7fe3fa9468 SOLR-893 -- Unable to delete documents via SQL and deletedPkQuery with deltaimport
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@723824 13f79535-47bb-0310-9956-ffa450edef68
2008-12-05 19:14:11 +00:00
Shalin Shekhar Mangar 90b387a92d SOLR-887 -- A Transformer to strip HTML tags.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@723410 13f79535-47bb-0310-9956-ffa450edef68
2008-12-04 19:50:43 +00:00
Shalin Shekhar Mangar e3ba95b8b8 SOLR-873 -- Fix case-sensitive field names and columns
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@719187 13f79535-47bb-0310-9956-ffa450edef68
2008-11-20 07:19:41 +00:00
Shalin Shekhar Mangar a788efe789 SOLR-864 -- DataImportHandler does not catch and log Errors
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@718187 13f79535-47bb-0310-9956-ffa450edef68
2008-11-17 08:26:29 +00:00
Shalin Shekhar Mangar dff17dc8a7 SOLR-833 -- A DataSource to read data from a field as a reader. This can be used, for example, to read XMLs residing as CLOBs or BLOBs in databases.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@713343 13f79535-47bb-0310-9956-ffa450edef68
2008-11-12 10:29:49 +00:00
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
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