Commit Graph

288 Commits

Author SHA1 Message Date
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
Erik Hatcher 7590aa1f0a todo, done
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@726996 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16 09:24:55 +00:00
Ryan McKinley 7560860863 SOLR-868 removing libs
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@726967 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16 05:39:33 +00:00
Ryan McKinley fb262a11c7 SOLR-868 -- updating javascript example
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@726901 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16 01:03:00 +00:00
Erik Hatcher 24cc3d9bce Convert templates to using new QueryResponse response object
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@726780 13f79535-47bb-0310-9956-ffa450edef68
2008-12-15 19:41:35 +00:00
Erik Hatcher ebba8adb5c Add additional Velocity tools and layout capability
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@726772 13f79535-47bb-0310-9956-ffa450edef68
2008-12-15 19:05:20 +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
Grant Ingersoll 25c1d17448 SOLR-284: handle multivalued literals
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@726350 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 03:47: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
Grant Ingersoll 7ddfd04ae4 SOLR-284: Updated to Tika 0.2. Added in build, pom support
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@726035 13f79535-47bb-0310-9956-ffa450edef68
2008-12-12 15:18:24 +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 2b931ae33e Moving DataImportHandler fix to correct CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@725617 13f79535-47bb-0310-9956-ffa450edef68
2008-12-11 08:31:26 +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
Grant Ingersoll 1e95b28ed9 SOLR-284: add it back
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@724217 13f79535-47bb-0310-9956-ffa450edef68
2008-12-07 22:53:44 +00:00
Grant Ingersoll 0f9c15482d SOLR-284: remove duplicated Tika libs
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@724190 13f79535-47bb-0310-9956-ffa450edef68
2008-12-07 20:21:03 +00:00
Ryan McKinley a3fff54fc1 SOLR-900: Moving solrj into /src/solrj.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@724175 13f79535-47bb-0310-9956-ffa450edef68
2008-12-07 19:07:11 +00:00
Grant Ingersoll cedd07b500 SOLR-284: Solr Cell: Add support for Tika content extraction
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@723977 13f79535-47bb-0310-9956-ffa450edef68
2008-12-06 13:04:26 +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
Yonik Seeley 2ded3e2345 SOLR-836: Add missing a to the example stopwords.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@721688 13f79535-47bb-0310-9956-ffa450edef68
2008-11-29 16:48:20 +00:00
Yonik Seeley b76a2a7b68 SOLR-879: enable position increments in QP, fix example schemas
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@721687 13f79535-47bb-0310-9956-ffa450edef68
2008-11-29 16:38:08 +00:00
Erik Hatcher db76a97aa0 Morph client-side demo to use built-in Solr example fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@719831 13f79535-47bb-0310-9956-ffa450edef68
2008-11-22 09:19:57 +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
Ryan McKinley 993c2dbb98 adding empty javadoc target for maven build
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@718647 13f79535-47bb-0310-9956-ffa450edef68
2008-11-18 16:42:41 +00:00
Erik Hatcher 24b25d5314 Fix errant refactoring - v.json is not a boolean parameter, doh
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@718556 13f79535-47bb-0310-9956-ffa450edef68
2008-11-18 11:02:46 +00:00
Erik Hatcher eca2d15122 Partial acceptance of SolrJS related patch - prefix all parameters with v., added in JSON wrapping, but did not include the rawResponse bit yet as it isn't needed by any current example and is planned to be reworked to use SolrJs API more natively
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@718553 13f79535-47bb-0310-9956-ffa450edef68
2008-11-18 11:00:31 +00:00
Erik Hatcher a1374ef19c Quote filter queries, add TODO for adding escaping or field qparser usage
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@718552 13f79535-47bb-0310-9956-ffa450edef68
2008-11-18 10:59:03 +00:00
Erik Hatcher 8d2d6b24e0 Fix bug with getResourceStream method - was returning template name, not template contents. Added v. prefix to template override parameters
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@718549 13f79535-47bb-0310-9956-ffa450edef68
2008-11-18 10:33:17 +00:00
Erik Hatcher be934a496e Add empty test target for main build to be happy
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@718529 13f79535-47bb-0310-9956-ffa450edef68
2008-11-18 09:29:59 +00:00
Ryan McKinley dbb6b924e3 add empty 'build' target so ant generate-maven-artifacts works
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@718488 13f79535-47bb-0310-9956-ffa450edef68
2008-11-18 05:37:31 +00:00
Ryan McKinley cc7675278e SOLR-868 -- adding some missing files. add "dist" to ignore list
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@718423 13f79535-47bb-0310-9956-ffa450edef68
2008-11-17 22:50:23 +00:00
Ryan McKinley fb340c0406 SOLR-868: Adding solrjs as a contrib package: contrib/javascript.
(Matthias Epheser via ryan)

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@718422 13f79535-47bb-0310-9956-ffa450edef68
2008-11-17 22:42:45 +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
Erik Hatcher 57c70675d3 Add EscapeTool into context, allowing url, html, and other escaping capabilties
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@713614 13f79535-47bb-0310-9956-ffa450edef68
2008-11-13 02:03:48 +00:00
Erik Hatcher f9fbb703cc upgrade to official latest beta release of Velocity, and add in Velocity Tools too
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@713613 13f79535-47bb-0310-9956-ffa450edef68
2008-11-13 02:01:32 +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
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