Commit Graph

65 Commits

Author SHA1 Message Date
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