Commit Graph

485 Commits

Author SHA1 Message Date
William Au 82afc1a8a7 fixed logging of elapsed time on Solaris
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@556902 13f79535-47bb-0310-9956-ffa450edef68
2007-07-17 12:31:03 +00:00
Ryan McKinley d044bbd589 SOLR-269 -- a chain subclass should be able to manipulate the chain
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@556357 13f79535-47bb-0310-9956-ffa450edef68
2007-07-15 00:00:12 +00:00
Ryan McKinley 777e0c8160 SOLR-248 -- Added CapitalizationFilterFactory
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@556196 13f79535-47bb-0310-9956-ffa450edef68
2007-07-14 01:03:31 +00:00
Chris M. Hostetter ebaeb6443c SOLR-240: New lockType config option supports all Lucene builtin LockFactories
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@556099 13f79535-47bb-0310-9956-ffa450edef68
2007-07-13 18:48:50 +00:00
Ryan McKinley b6ca445deb SOLR-269 -- adding UpdateRequestProcessor as a top level plugin managed by SolrCore. This sets up a default processing chain.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@556064 13f79535-47bb-0310-9956-ffa450edef68
2007-07-13 16:48:00 +00:00
Ryan McKinley 4bd34517da adding generic <Object> to avoid some warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@555873 13f79535-47bb-0310-9956-ffa450edef68
2007-07-13 04:52:22 +00:00
Ryan McKinley 0943302b91 spelling corrections
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@555868 13f79535-47bb-0310-9956-ffa450edef68
2007-07-13 04:31:30 +00:00
William Au 7a7d05c27b workaround for cp not having the -l option on Solaris and OS X: SOLR-282
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@555612 13f79535-47bb-0310-9956-ffa450edef68
2007-07-12 12:35:01 +00:00
Chris M. Hostetter 1fec553e28 SOLR-297 - fixed the RequiredSolrParams.getField* methods, they weren't falling back to the non field specific param names before failing with an exception
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@555345 13f79535-47bb-0310-9956-ffa450edef68
2007-07-11 17:57:51 +00:00
Chris M. Hostetter a53367d319 removing all author tags per dev list consensus
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@555343 13f79535-47bb-0310-9956-ffa450edef68
2007-07-11 17:46:25 +00:00
Ryan McKinley 757aa1f9a0 SOLR-296 -- wrapping reader.terms() in try/catch
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@554915 13f79535-47bb-0310-9956-ffa450edef68
2007-07-10 11:57:36 +00:00
Yonik Seeley 0d8a368a97 queryResultMaxDocsCached: SOLR-291
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@554688 13f79535-47bb-0310-9956-ffa450edef68
2007-07-09 15:45:30 +00:00
Ryan McKinley 16ea3fb7e8 SOLR-292 - fix MoreLikeThis facet counting
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@554667 13f79535-47bb-0310-9956-ffa450edef68
2007-07-09 14:56:53 +00:00
Ryan McKinley f7804a08f8 have remove( name ) return the SolrInputField rather then true/false
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@554405 13f79535-47bb-0310-9956-ffa450edef68
2007-07-08 18:34:52 +00:00
Ryan McKinley 3fd423d27a fixing multiple document adding error.
setting: addCmd.indexedId = null; before each add

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@553574 13f79535-47bb-0310-9956-ffa450edef68
2007-07-05 17:36:38 +00:00
Mike Klaas 455194dff0 added hl.maxAnalyzedChars highlighting parameter (SOLR-273)
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@553023 13f79535-47bb-0310-9956-ffa450edef68
2007-07-03 23:44:31 +00:00
Ryan McKinley aa2135f34f SOLR-269 -- removing incremental time logging. This now has a single log statement for all processed commands.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@552986 13f79535-47bb-0310-9956-ffa450edef68
2007-07-03 21:25:21 +00:00
Ryan McKinley 058aa7ed27 SOLR-286 - use utf-8 encoding for getBytes()
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@552756 13f79535-47bb-0310-9956-ffa450edef68
2007-07-03 09:13:28 +00:00
Ryan McKinley 7e8857ff47 SOLR-260: removing the param map from init. the method signature is now: init(T plugin, Node node)
The few places that use the param map can generate it from DOMUtils

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@552709 13f79535-47bb-0310-9956-ffa450edef68
2007-07-03 08:16:21 +00:00
Ryan McKinley aa948a9cac SOLR-260 adding more comments
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@552701 13f79535-47bb-0310-9956-ffa450edef68
2007-07-03 08:01:21 +00:00
Ryan McKinley 2adc9df23a SOLR-283: autoCommit after delete
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@552698 13f79535-47bb-0310-9956-ffa450edef68
2007-07-03 07:31:32 +00:00
Ryan McKinley 0985f37184 SOLR-225 - style changes and HighlightUtils.emptyArray() change
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@552689 13f79535-47bb-0310-9956-ffa450edef68
2007-07-03 06:29:50 +00:00
Ryan McKinley a517e0f5a9 SOLR-102 - regex fragmenter using SOLR-225 plugin framework
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@552683 13f79535-47bb-0310-9956-ffa450edef68
2007-07-03 06:15:17 +00:00
Ryan McKinley 1e037fcf50 SOLR-225 -- adding pluggable highlighting formatters and fragmenters
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@552682 13f79535-47bb-0310-9956-ffa450edef68
2007-07-03 06:14:07 +00:00
Ryan McKinley 95b41b373f SOLR-260 -- adding a standard PluginLoader framework. NOTE, this commit includes parts of files from (the soon to be commited) highlight plugins SOLR-225
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@552680 13f79535-47bb-0310-9956-ffa450edef68
2007-07-03 06:10:10 +00:00
Ryan McKinley 69bd5b7f17 SOLR-280 -- changing SolrInputField to take float rather then Float. this will avoid autoboxing, if you don't want to define the boost, use one of the wrapper functions that default to 1.0
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@552521 13f79535-47bb-0310-9956-ffa450edef68
2007-07-02 15:57:03 +00:00
Ryan McKinley 1f799adf41 SOLR-280 -- adding wrapper functions for API compatibility. thanks Will
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@552514 13f79535-47bb-0310-9956-ffa450edef68
2007-07-02 15:43:50 +00:00
Ryan McKinley 1760d4242d SOLR-280 -- changing the SolrDocument/SolrInputDocument implementation so each one as as efficient as it can be. The API changes mostly affect solrj users.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@552405 13f79535-47bb-0310-9956-ffa450edef68
2007-07-02 05:19:22 +00:00
Ryan McKinley 5d7981c26c SOLR-133 -- found a bug in the delete XML parsing. for id's and queries with &, it did not behave correctly. Adds a fix and test. Another sideeffect that should be noted is that this parser now accepts multiple delete commands:
<delete>
 <id>1</id>
 <id>3</id>
 <id>4</id>
</delete`>


git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@552385 13f79535-47bb-0310-9956-ffa450edef68
2007-07-02 02:44:45 +00:00
Ryan McKinley fb559461fa SOLR-133 -- moving stax implementation to XmlUpdateRequestHandler. Remove the stax derived tests.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@552198 13f79535-47bb-0310-9956-ffa450edef68
2007-06-30 18:52:16 +00:00
Ryan McKinley 631a4a63f1 SOLR-133 - moving XPP implementation to a Deprecated class. Next commit will move the Stax version to its place.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@552196 13f79535-47bb-0310-9956-ffa450edef68
2007-06-30 18:40:26 +00:00
Ryan McKinley 579b316839 SOLR-269: Using a factory pattern to generate UpdateRequestProcessor.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@552195 13f79535-47bb-0310-9956-ffa450edef68
2007-06-30 18:34:47 +00:00
Yonik Seeley 63e36e5f9c remove ant dependency for setting test system properties
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@551701 13f79535-47bb-0310-9956-ffa450edef68
2007-06-28 21:18:12 +00:00
Yonik Seeley 79b3ef65c3 SOLR-276: improve JSON writer speed
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@551170 13f79535-47bb-0310-9956-ffa450edef68
2007-06-27 14:17:29 +00:00
Yonik Seeley 951dab2048 check for null copyField source, delay some allocations
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@551060 13f79535-47bb-0310-9956-ffa450edef68
2007-06-27 05:52:02 +00:00
Chris M. Hostetter 89bf821efe more SOLR-264 work: add example to schema.xml; fix equals bug in SolrComparatorSource that Koji found; make ValueSource use IndexReader version in it's computation; refactor getSeed to use both the fieldname and the reader version
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@550668 13f79535-47bb-0310-9956-ffa450edef68
2007-06-26 03:16:05 +00:00
Chris M. Hostetter 4006ae52db point query syntax help to Solr wiki instead of lucene-java site so the few extensions can be noticed
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@550607 13f79535-47bb-0310-9956-ffa450edef68
2007-06-25 21:00:16 +00:00
Mike Klaas e740dce042 bugfix for SOLR-274
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@550576 13f79535-47bb-0310-9956-ffa450edef68
2007-06-25 19:10:14 +00:00
Ryan McKinley 4e0e8f6707 javadoc spelling cleanup
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@550264 13f79535-47bb-0310-9956-ffa450edef68
2007-06-24 17:35:08 +00:00
Chris M. Hostetter 9eb7ff4bc5 SOLR-268 - Tweaks to post.jar so it prints the error message from Solr.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@550010 13f79535-47bb-0310-9956-ffa450edef68
2007-06-23 05:33:06 +00:00
Yonik Seeley 7b4db83305 fix OpenBitSet.flip bug when indicies outside current size
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@549948 13f79535-47bb-0310-9956-ffa450edef68
2007-06-22 20:27:28 +00:00
Yonik Seeley aa705c5f14 implement OpenBitSet.set(from,to) and clear(from,to)
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@549909 13f79535-47bb-0310-9956-ffa450edef68
2007-06-22 18:00:00 +00:00
Ryan McKinley 02cadd8bb0 SOLR-266: Adding show=schema to LukeRequestHandler
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@549570 13f79535-47bb-0310-9956-ffa450edef68
2007-06-21 17:53:24 +00:00
Otis Gospodnetic bd5f3ae723 - Added "&&" between the 3 calls that copy, remove, and move index data to add a bit of extra robustness
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@549454 13f79535-47bb-0310-9956-ffa450edef68
2007-06-21 12:10:30 +00:00
Yonik Seeley a21373772a make TextField respect sortMissingFirst,sortMissingLast
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@549362 13f79535-47bb-0310-9956-ffa450edef68
2007-06-21 04:39:41 +00:00
Yonik Seeley 75c74dd595 fix logging of chars < 32
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@549356 13f79535-47bb-0310-9956-ffa450edef68
2007-06-21 04:08:06 +00:00
Ryan McKinley 69095c5de0 Testing StaxUpdateRequestHandler with tests written for XmlUpdateRequestHandler
* Added three test subclasses to test updating with StaxUpdateRequestHandler rather then XmlUpdateRequestHandler
* Made the XmlUpdateRequestHandler in TestHarness public so it could be changed after initialization
* Fixed new DocumentBuilder toDocument() impl so it passes tests (copy fields were not handled properly)

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@548958 13f79535-47bb-0310-9956-ffa450edef68
2007-06-20 06:46:23 +00:00
Ryan McKinley be08e28414 SOLR-264 - updating the RandomSortField so it follows the Comparator contract. This uses the: field name hash, docID, and reader version as a random generator seed.
This may not be the final version, but it is better then the existing one...

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@548887 13f79535-47bb-0310-9956-ffa450edef68
2007-06-20 01:38:18 +00:00
Ryan McKinley c06888092b SOLR-264: equivalent logic without branch
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@548599 13f79535-47bb-0310-9956-ffa450edef68
2007-06-19 06:03:10 +00:00
Ryan McKinley 59ed1b5bf1 SOLR-264: Added RandomSortField a random order SortComparatorSource. Thanks yonik for the performance hints
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@548594 13f79535-47bb-0310-9956-ffa450edef68
2007-06-19 05:27:47 +00:00