Commit Graph

288 Commits

Author SHA1 Message Date
Noble Paul 4c6d63f975 SOLR-935 log a warning if it fails to acquire a lock
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@776965 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 06:17:01 +00:00
Noble Paul 6fe805f80b SOLR-1153 deltaImportQuery should be honored on child entities as well
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@776958 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 05:52:48 +00:00
Grant Ingersoll 1fc5ecc6c2 SOLR-769: Add clustering contrib capabilities to Solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@776692 13f79535-47bb-0310-9956-ffa450edef68
2009-05-20 13:29:52 +00:00
Grant Ingersoll 1516f18236 clean up missing license headers in Java code thanks to ant rat-sources target in build.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@776449 13f79535-47bb-0310-9956-ffa450edef68
2009-05-19 20:33:20 +00:00
Shalin Shekhar Mangar d88af9cf8a SOLR-1076 followup -- Resolve JNDI name before using it
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@771656 13f79535-47bb-0310-9956-ffa450edef68
2009-05-05 10:24:11 +00:00
Shalin Shekhar Mangar 6ef6e52271 SOLR-1146 -- ConcurrentModificationException in DataImporter.getStatusMessages
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@771580 13f79535-47bb-0310-9956-ffa450edef68
2009-05-05 06:24:21 +00:00
Erik Hatcher 5383ab17b3 Fix PageTool to work with distributed query response also
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@771133 13f79535-47bb-0310-9956-ffa450edef68
2009-05-03 22:38:03 +00:00
Shalin Shekhar Mangar 99a48e5604 SOLR-1092 -- Added a new command named 'import' which does not automatically clean the index
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@770980 13f79535-47bb-0310-9956-ffa450edef68
2009-05-02 19:50:25 +00:00
Shalin Shekhar Mangar c514dd50eb SOLR-1136 -- Remove unnecessary while in SqlEntityProcessor.nextRow()
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@770580 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 08:44:16 +00:00
Shalin Shekhar Mangar 9f5b8ad035 SOLR-1127 -- Add support for field name to be templatized
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@769751 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 11:23:28 +00:00
Shalin Shekhar Mangar d7f7ca176f SOLR-1120 followup -- Introduced a DocWrapper which takes care of maintaining document level session variables
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@769058 13f79535-47bb-0310-9956-ffa450edef68
2009-04-27 16:55:46 +00:00
Grant Ingersoll a7a8b3459d SOLR-1128: added metadata output to extract only option
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@768281 13f79535-47bb-0310-9956-ffa450edef68
2009-04-24 12:42:22 +00:00
Shalin Shekhar Mangar e2a020b6c6 SOLR-1060 -- A LineEntityProcessor which can stream lines of text from a given file to be indexed directly or for processing with transformers and child entities.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@766638 13f79535-47bb-0310-9956-ffa450edef68
2009-04-20 10:12:50 +00:00
Shalin Shekhar Mangar a336753fdc SOLR-1120 -- Simplify EntityProcessor API
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@766608 13f79535-47bb-0310-9956-ffa450edef68
2009-04-20 07:36:55 +00:00
Shalin Shekhar Mangar 3c2e9ab3d6 SOLR-1080 followup -- Additional test cases for RegexTransformer
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@765559 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 10:15:54 +00:00
Shalin Shekhar Mangar 49a83c536e SOLR-969 -- Changed the FULL_DUMP, DELTA_DUMP, FIND_DELTA constants in Context to String. Changed Context.currentProcess() to return a string instead of an integer.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@765499 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 08:01:10 +00:00
Shalin Shekhar Mangar 67fa0ec527 SOLR-1076 followup -- Fix bug with resolving batchSize
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@765481 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 06:16:42 +00:00
Koji Sekiguchi a31c7a692f moved close() of InputStream to finally block
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@765030 13f79535-47bb-0310-9956-ffa450edef68
2009-04-15 01:28:07 +00:00
Ryan McKinley a5a9be2d19 Adding Apache license header to the extraction contrib project
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@764786 13f79535-47bb-0310-9956-ffa450edef68
2009-04-14 14:21:59 +00:00
Shalin Shekhar Mangar be6911ec84 SOLR-934 fix -- Copy libs from contrib/extraction/lib for setting up mail example
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@764709 13f79535-47bb-0310-9956-ffa450edef68
2009-04-14 08:28:06 +00:00
Shalin Shekhar Mangar b157e9c6e2 SOLR-934 followup -- Make CustomFilter static, remove extra logging code, check log level before logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@764691 13f79535-47bb-0310-9956-ffa450edef68
2009-04-14 07:15:16 +00:00
Shalin Shekhar Mangar 12024eba47 SOLR-934 -- A MailEntityProcessor to enable indexing mails from POP/IMAP sources into a solr index
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@764601 13f79535-47bb-0310-9956-ffa450edef68
2009-04-13 20:26:10 +00:00
Shalin Shekhar Mangar 40a1e6da34 SOLR-1059 -- Fixing bug where skipping a row containing nested entities did not skip the nested entities. Handling special flag variables is in one method now.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@764379 13f79535-47bb-0310-9956-ffa450edef68
2009-04-13 09:00:59 +00:00
Koji Sekiguchi 9367d31442 SOLR-620: added a feature of applying velocity.properties by v.properties parameter
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@764347 13f79535-47bb-0310-9956-ffa450edef68
2009-04-13 01:45:36 +00:00
Shalin Shekhar Mangar d653d93305 SOLR-1058 followup -- Fix check for driver attribute
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@762184 13f79535-47bb-0310-9956-ffa450edef68
2009-04-05 23:06:52 +00:00
Shalin Shekhar Mangar 4d5f12e417 SOLR-1087 -- Deprecate 'where' attribute in CachedSqlEntityProcessor in favor of cacheKey and cacheLookup
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@762183 13f79535-47bb-0310-9956-ffa450edef68
2009-04-05 22:58:14 +00:00
Shalin Shekhar Mangar e7c2a9d7dd SOLR-1098 -- DateFormatTransformer can cache the format objects
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@762180 13f79535-47bb-0310-9956-ffa450edef68
2009-04-05 22:50:10 +00:00
Shalin Shekhar Mangar 3ee3b599e4 SOLR-891 -- Adding a test case for ClobTransformer
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@762174 13f79535-47bb-0310-9956-ffa450edef68
2009-04-05 22:18:50 +00:00
Shalin Shekhar Mangar 273705738f SOLR-886 -- No need to call commit after calling rollback
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@761605 13f79535-47bb-0310-9956-ffa450edef68
2009-04-03 10:34:28 +00:00
Shalin Shekhar Mangar a8db365bbc SOLR-1090 -- DataImportHandler should load the data-config.xml using UTF-8 encoding
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@759337 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 20:42:49 +00:00
Shalin Shekhar Mangar 96a3f027ce SOLR-1084 -- Better error reporting when entity name is a reserved word and when data-config.xml is missing the root node
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@757691 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 09:07:47 +00:00
Shalin Shekhar Mangar 5b885e1642 SOLR-1027 -- Alias the 'dataimporter' namespace to a shorter name 'dih'.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@757690 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 08:54:43 +00:00
Shalin Shekhar Mangar dfdc5a80e1 SOLR-1083 -- An Evaluator for escaping query characters
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@757682 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 08:09:49 +00:00
Shalin Shekhar Mangar a3e7952c84 SOLR-1081 followup -- Remove abstract keyword
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@757332 13f79535-47bb-0310-9956-ffa450edef68
2009-03-23 07:14:19 +00:00
Shalin Shekhar Mangar 42756bb924 SOLR-1081 -- Change EventListener to be an interface so that components such as an EntityProcessor or a Transformer can act as an event listener
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@757325 13f79535-47bb-0310-9956-ffa450edef68
2009-03-23 06:20:27 +00:00
Shalin Shekhar Mangar ed946926a3 SOLR-1058 -- JdbcDataSource can lookup javax.sql.DataSource using JNDI
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@757170 13f79535-47bb-0310-9956-ffa450edef68
2009-03-22 11:31:51 +00:00
Shalin Shekhar Mangar 30efee5f15 SOLR-1080 -- RegexTransformer should not replace if regex is not matched
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@757140 13f79535-47bb-0310-9956-ffa450edef68
2009-03-22 07:24:39 +00:00
Grant Ingersoll 0bfd4b4bb2 SOLR-1075: Upgrade to Tika 0.3
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@756979 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 17:55:28 +00:00
Shalin Shekhar Mangar 6d5163dd21 SOLR-1077 -- IndexOutOfBoundsException with useSolrAddSchema in XPathEntityProcessor
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@756684 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 17:47:14 +00:00
Shalin Shekhar Mangar 9e94327025 SOLR-1055 -- Make DIH JdbcDataSource easily extensible by making the createConnectionFactory method protected and return a Callable<Connection> object
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@756407 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 10:36:20 +00:00
Shalin Shekhar Mangar b53c3495e4 SOLR-1076 -- JdbcDataSource should resolve variables in all its configuration parameters
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@756340 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 06:27:01 +00:00
Shalin Shekhar Mangar 09100e8c0c SOLR-1059 followup -- Adding a test for delete doc functionality using the special flag variables
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@756130 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 18:51:44 +00:00
Erik Hatcher c26c959710 Default number of rows to 10 if not specified. Fixes issue with calculation of number of pages
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@755993 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 13:40:44 +00:00
Shalin Shekhar Mangar 766c0e6c7d SOLR-1059 -- New methods in Context and special flags introduced for deleting documents, skipping rows and stopping transforms
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@755897 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 10:27:33 +00:00
Shalin Shekhar Mangar f92165443e SOLR-1061 -- Improve RegexTransformer to create multiple columns from regex groups
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@755143 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 07:58:10 +00:00
Shalin Shekhar Mangar 7de4dee17c SOLR-1065 -- A ContentStreamDataSource which can accept HTTP POST data in a content stream. This can be used to push data to Solr instead of just pulling it from DB/Files/URLs
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@755141 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 07:50:09 +00:00
Shalin Shekhar Mangar 2d4d167ced SOLR-1062 -- A LogTransformer which can log data in a given template format
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@755132 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 06:42:33 +00:00
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
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