Commit Graph

141 Commits

Author SHA1 Message Date
Shalin Shekhar Mangar c02eee38d4 SOLR-1066 -- New methods in Context to expose Script details. ScriptTransformer changed to read scripts through the new API methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@752586 13f79535-47bb-0310-9956-ffa450edef68
2009-03-11 19:17:50 +00:00
Shalin Shekhar Mangar cdbb5216ec SOLR-1056 -- Fix ending condition for ClobTransformer
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@751993 13f79535-47bb-0310-9956-ffa450edef68
2009-03-10 06:26:23 +00:00
Shalin Shekhar Mangar 15a9d6b543 SOLR-1053 -- IndexOutOfBoundsException in SolrWriter.getResourceAsString when size of data-config.xml is a multiple of 1024 bytes
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@751696 13f79535-47bb-0310-9956-ffa450edef68
2009-03-09 14:55:40 +00:00
Shalin Shekhar Mangar ab7106f35f SOLR-783 followup - Make sure indexStartTime is never null. Set index start time even if commit=false for full imports too.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@751043 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 19:26:27 +00:00
Shalin Shekhar Mangar 2484c0efe7 SOLR-1042 -- Fix memory leak in DIH by making TemplateString non-static member in VariableResolverImpl
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@748969 13f79535-47bb-0310-9956-ffa450edef68
2009-03-01 07:33:25 +00:00
Shalin Shekhar Mangar 59cbcf51a7 SOLR-1040 -- XPathEntityProcessor fails with an xpath like containing forward slash in a attribute selector's value
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@748117 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 12:41:08 +00:00
Shalin Shekhar Mangar c1e663e905 SOLR-783 followup -- Set last_index_time to current date even if commit=false to avoid NPE.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@747792 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 14:17:36 +00:00
Erik Hatcher 3afcd7a175 Add dependency for some Velocity tools
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@747772 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 13:22:44 +00:00
Erik Hatcher 336a226ce7 Add Velocity engine and list tool objects, and default template based on path if not explicitly specified
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@747761 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 12:10:03 +00:00
Shalin Shekhar Mangar aea2aff871 SOLR-1037 -- DIH should not add null values in a row returned by EntityProcessor to documents.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@747707 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 08:31:25 +00:00
Shalin Shekhar Mangar c8e94bec4b SOLR-1033 -- Current entity's namespace is made available to all Transformers. This allows one to use an output field of TemplateTransformer in other transformers, among other things.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@747664 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 05:27:31 +00:00
Shalin Shekhar Mangar 19d7b267a7 SOLR-801 follow-up -- Fix NullPointerException in case of multiple root entities when deleteQuery is not specified
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@747343 13f79535-47bb-0310-9956-ffa450edef68
2009-02-24 11:19:51 +00:00
Shalin Shekhar Mangar 3a5fa680eb SOLR-1029 -- Standardize Evaluator parameter parsing and added helper functions for parsing all evaluator parameters in a standard way.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@747291 13f79535-47bb-0310-9956-ffa450edef68
2009-02-24 06:58:46 +00:00
Shalin Shekhar Mangar ed887ca631 Removing main method added for testing
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@746300 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 17:37:00 +00:00
Shalin Shekhar Mangar 831a3026de SOLR-783 -- Enhance delta-imports by maintaining separate last_index_time for each entity
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@746189 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 09:43:36 +00:00
Shalin Shekhar Mangar e96345130e SOLR-1024 -- Calling abort on DataImportHandler import commits data instead of calling rollback
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@745831 13f79535-47bb-0310-9956-ffa450edef68
2009-02-19 11:59:54 +00:00
Shalin Shekhar Mangar 7477c06f89 SOLR-996 followup -- missing set context
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@745807 13f79535-47bb-0310-9956-ffa450edef68
2009-02-19 10:25:09 +00:00
Shalin Shekhar Mangar fa19dfca0f SOLR-1004 -- Check for abort more frequently during delta-imports
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@745742 13f79535-47bb-0310-9956-ffa450edef68
2009-02-19 05:43:06 +00:00
Shalin Shekhar Mangar a2b4aa53fc SOLR-996 -- Expose Context to Evaluators
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@745734 13f79535-47bb-0310-9956-ffa450edef68
2009-02-19 05:28:48 +00:00
Shalin Shekhar Mangar 801ea7c395 SOLR-1017 -- Fix thread-safety issue with last_index_time for concurrent imports in multiple cores due to unsafe usage of SimpleDateFormat by multiple threads.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@743299 13f79535-47bb-0310-9956-ffa450edef68
2009-02-11 11:01:44 +00:00
Shalin Shekhar Mangar c4a96dc1de SOLR-1009 -- Repeated column names result in duplicate values
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@743280 13f79535-47bb-0310-9956-ffa450edef68
2009-02-11 09:30:05 +00:00
Grant Ingersoll a1b7dca1b8 SOLR-284: remove auto key generation and update tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@741907 13f79535-47bb-0310-9956-ffa450edef68
2009-02-07 16:02:41 +00:00
Shalin Shekhar Mangar 8391810098 SOLR-989 -- Expose running statistics from the Context API.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@741698 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 20:02:48 +00:00
Shalin Shekhar Mangar 604267e448 SOLR-1001 followup -- Fix NPE due to bug in test base class
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@741469 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 08:38:07 +00:00
Shalin Shekhar Mangar a91912c99b SOLR-1001 -- Allow variables in various attributes of RegexTransformer, HTMLStripTransformer and NumberFormatTransformer.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@741435 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 06:51:50 +00:00
Shalin Shekhar Mangar 34b0ed7cff SOLR-1003 -- XPathEntityprocessor must allow slurping all text from a given xml node and its children
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@741268 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 19:53:10 +00:00
Shalin Shekhar Mangar 6f00fa6f7d SOLR-971 -- Replace StringBuffer with StringBuilder for instances that do not require thread-safety
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@741262 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 19:41:55 +00:00
Shalin Shekhar Mangar d707212bbf SOLR-1000 -- FileListEntityProcessor should not apply fileName filter to directory names. Wow, we reached 1000 issues!
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@740423 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 20:33:20 +00:00
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
Erik Hatcher 65a65ee6a1 remove transient JAR from svn
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@728844 13f79535-47bb-0310-9956-ffa450edef68
2008-12-23 01:52:46 +00:00
Erik Hatcher b7a87e95ab freshen up the dependencies with the latest greatest versions
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@728419 13f79535-47bb-0310-9956-ffa450edef68
2008-12-21 10:21:02 +00:00
Erik Hatcher 73c930b0b1 Fix issue with AnalysisRequestHandlers response choking up QueryResponse
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@728415 13f79535-47bb-0310-9956-ffa450edef68
2008-12-21 10:05:06 +00:00
Erik Hatcher 0405583d6d Add comment to footer about why it is where it is for now
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@728414 13f79535-47bb-0310-9956-ffa450edef68
2008-12-21 10:04:08 +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
Erik Hatcher 2ec78506f6 add example target that will hopefully fix nightly build
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@727000 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16 09:29:26 +00:00