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