Commit Graph

9603 Commits

Author SHA1 Message Date
Uwe Schindler 0188da6a73 Fix lots of default charset violations in Solr caused by String.getBytes() and IOUtils.toString() [and others]
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1067160 13f79535-47bb-0310-9956-ffa450edef68
2011-02-04 12:01:49 +00:00
Koji Sekiguchi 6f31407109 SOLR-1057: Add PathHierarchyTokenizer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1067131 13f79535-47bb-0310-9956-ffa450edef68
2011-02-04 10:19:52 +00:00
Uwe Schindler 1f9a474116 SOLR-96: Add test case
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1067119 13f79535-47bb-0310-9956-ffa450edef68
2011-02-04 09:27:40 +00:00
Chris M. Hostetter e2970ad77c clean up my nocommit mess
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1067044 13f79535-47bb-0310-9956-ffa450edef68
2011-02-04 00:16:49 +00:00
Chris M. Hostetter dc16b7efea SOLR-2339: Fix sorting to explicitly generate an error if you attempt to sort on a multiValued field.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1067030 13f79535-47bb-0310-9956-ffa450edef68
2011-02-03 23:21:44 +00:00
Uwe Schindler 69ad01cb98 Fix issue in CommonsHttpSolrServer where a Reader is copied to an OutputStream using default encoding
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1066889 13f79535-47bb-0310-9956-ffa450edef68
2011-02-03 17:41:53 +00:00
Yonik Seeley 7b32753293 tests: get model order from index, fix some json numeric comparisons
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1066850 13f79535-47bb-0310-9956-ffa450edef68
2011-02-03 16:14:07 +00:00
Yonik Seeley 30ed34d4fe tests: fix doclist offset in grouping model
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1066847 13f79535-47bb-0310-9956-ffa450edef68
2011-02-03 16:07:26 +00:00
Uwe Schindler b2e9fa1d26 SOLR-96: Fix XML parsing in XMLUpdateRequestHandler and DocumentAnalysisRequestHandler to respect charset from XML file and only use HTTP header's "Content-Type" as a "hint"
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1066819 13f79535-47bb-0310-9956-ffa450edef68
2011-02-03 14:49:06 +00:00
Simon Willnauer 7161062eee prevent emtpy TopDocs from contributing to maxScore if searches are concurrent
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1066764 13f79535-47bb-0310-9956-ffa450edef68
2011-02-03 09:10:48 +00:00
Robert Muir 159c733369 fix false fail, test relies upon docid order
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1066727 13f79535-47bb-0310-9956-ffa450edef68
2011-02-03 03:11:12 +00:00
Robert Muir dde8fc7020 LUCENE-2751: add LuceneTestCase.newSearcher. use this to get an indexsearcher that randomly uses threads, etc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1066691 13f79535-47bb-0310-9956-ffa450edef68
2011-02-02 23:27:25 +00:00
Simon Willnauer 2635ac0cf7 LUCENE-2831: Use leaf reader slices for parallel execution instead of SubSearcher instances.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1066669 13f79535-47bb-0310-9956-ffa450edef68
2011-02-02 22:34:15 +00:00
Yonik Seeley eee47902b7 LUCENE-2831: remove unnecessary casts
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1066515 13f79535-47bb-0310-9956-ffa450edef68
2011-02-02 16:22:51 +00:00
Michael McCandless d09e29d5c9 make MockRandomMergePolicy slightly less evil; fixes 2 recent test failures
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1066008 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 11:41:49 +00:00
Robert Muir d087701cd6 SOLR-1916: add locale/timezone warning
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1065891 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 02:08:35 +00:00
Michael McCandless 62b692e9a3 LUCENE-2897: apply delete-by-term on flushed segment while we flush (still buffer delete-by-terms for past segments)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1065855 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 23:35:02 +00:00
Robert Muir 25f16877dd LUCENE-2902: tests should run checkIndex on indexes they create
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1065853 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 23:30:00 +00:00
Steven Rowe 80d45a4ee3 LUCENE-1591: update maven poms for xercesImpl.jar revert
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1065802 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 21:28:47 +00:00
Steven Rowe 7088a4d555 LUCENE-1591: Eclipse config update for xercesImpl.jar revert
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1065787 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 21:16:39 +00:00
Michael McCandless c0b98f063a LUCENE-1591: rollback to old patched xercesImpl.jar to workaround XERCESJ-1257, which we hit on current Wikipedia XML export (enwiki-20110115-pages-articles.xml)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1065719 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 19:20:34 +00:00
Robert Muir 5ccf063a5d LUCENE-2901: fix consistency of KeywordMarkerFilter, it should only set, not unset the attribute
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1065621 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 14:06:45 +00:00
Koji Sekiguchi cd8929f9f5 SOLR-2340: add the entry to CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1065601 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 13:26:26 +00:00
Robert Muir 72ab9cafce add missing package.htmls
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1065600 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 13:22:24 +00:00
Michael McCandless feba52697b LUCENE-1076: fix false test failure
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1065572 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 12:01:08 +00:00
Robert Muir 107c06324b fix more javadocs warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1065474 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 02:59:40 +00:00
Koji Sekiguchi 1377b916e6 print out version infos in JavaBinCodec when throwing exception
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1065465 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 01:57:57 +00:00
Robert Muir 48ca1148e2 fix javadocs warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1065416 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 22:55:19 +00:00
Robert Muir 3a76e3a8f5 typo police
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1065410 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 22:34:36 +00:00
Yonik Seeley 146c27063f SOLR-236: fix bug where numFound was always zero if group.offset and group.limit were both zero.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1065406 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 22:26:22 +00:00
Uwe Schindler e7088279f7 LUCENE-1253: LengthFilter (and Solr's KeepWordTokenFilter) now require up front specification of enablePositionIncrement. Together with StopFilter they have a common base class (FilteringTokenFilter) that handles the position increments automatically. Implementors only need to override an accept() method that filters tokens
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1065343 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 18:30:34 +00:00
Michael McCandless 277dfa0e88 LUCENE-2900: allow explicit control over whether deletes must be applied when pulling NRT reader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1065337 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 18:06:37 +00:00
Robert Muir 9af1a72569 add missing svn:eol-style
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1065327 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 17:29:55 +00:00
Robert Muir d1a5ca1460 add missing @Override and @Deprecated annotations
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1065304 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 15:10:15 +00:00
Yonik Seeley 6569aa5da3 add ASL
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1065302 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 15:03:01 +00:00
Robert Muir 24cfce7c1a add missing license headers where there are none, but the JIRA box was checked (solr)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1065286 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 14:17:46 +00:00
Robert Muir 7c24712e89 LUCENE-1866: add missing dirs to rat report
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1065272 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 13:52:06 +00:00
Robert Muir 5629a2b96b add missing license headers where there are none, but the JIRA box was checked
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1065265 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 13:28:41 +00:00
Robert Muir de55bd4de1 LUCENE-2896: in advance(), don't skip when target doc delta is very small
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1065261 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 13:03:21 +00:00
Michael McCandless 185ad0c631 Java 1.5 can't @Override an interface
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1065102 13f79535-47bb-0310-9956-ffa450edef68
2011-01-29 20:33:09 +00:00
Michael McCandless 76b0a38e82 LUCENE-1076: add CHANGES
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1065096 13f79535-47bb-0310-9956-ffa450edef68
2011-01-29 19:51:30 +00:00
Michael McCandless 295c8f84c7 LUCENE-1076: allow non-contiguous merges; improve handling of buffered deletes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1065095 13f79535-47bb-0310-9956-ffa450edef68
2011-01-29 19:48:56 +00:00
Ryan McKinley 5f7f97021c LUCENE-2671 -- deprecate FieldTypes that will be removed in 5.x
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1065093 13f79535-47bb-0310-9956-ffa450edef68
2011-01-29 19:43:20 +00:00
Ryan McKinley 5dcacafcb4 - add comments to pivot test
- change capitalization so that testing looks the same as the input

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1065074 13f79535-47bb-0310-9956-ffa450edef68
2011-01-29 17:10:09 +00:00
Yonik Seeley d4c9a81452 SOLR-792: fix test to match fix to mincount
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1065067 13f79535-47bb-0310-9956-ffa450edef68
2011-01-29 16:50:51 +00:00
Michael McCandless 5342d8676d LUCENE-2898: fix CMS throttling to be independent of number of incoming producer threads; some defensive concurrency fixes for SegmentInfo
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1065059 13f79535-47bb-0310-9956-ffa450edef68
2011-01-29 16:22:59 +00:00
Koji Sekiguchi cbf8d878f7 SOLR-792: fix comparison for mincount
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1065020 13f79535-47bb-0310-9956-ffa450edef68
2011-01-29 14:30:45 +00:00
Yonik Seeley 5d8790eb85 SOLR-1983 SOLR-2156: set replication flags and cleanup
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1064942 13f79535-47bb-0310-9956-ffa450edef68
2011-01-29 02:24:53 +00:00
Michael McCandless f12b4ab2ff fix typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1064927 13f79535-47bb-0310-9956-ffa450edef68
2011-01-28 23:12:48 +00:00
Michael McCandless 06c4c204c8 LUCENE-2895: MockRandomCodec loads termsIndex even if termsIndexDivisor is set to -1
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1064926 13f79535-47bb-0310-9956-ffa450edef68
2011-01-28 23:12:22 +00:00