Commit Graph

9621 Commits

Author SHA1 Message Date
Chris M. Hostetter 6d41320143 SOLR-2350: SimplePostTool (aka: post.jar) has been improved to work with files of any mime-type or charset
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1068149 13f79535-47bb-0310-9956-ffa450edef68
2011-02-07 21:39:32 +00:00
Robert Muir 05552c705a code simplification in automatontermsenum
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1067969 13f79535-47bb-0310-9956-ffa450edef68
2011-02-07 15:34:06 +00:00
Steven Rowe 52c2eb7c77 LUCENE-2609: queries contrib needs lucene test classes outside of test-framework
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1067836 13f79535-47bb-0310-9956-ffa450edef68
2011-02-07 01:13:18 +00:00
Steven Rowe 8d7afc0d05 LUCENE-2609: phonetic module can depend only on lucene-test-framework rather than the full lucene-core tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1067834 13f79535-47bb-0310-9956-ffa450edef68
2011-02-07 01:12:14 +00:00
Steven Rowe 6f2aeb401b ignore pom.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1067799 13f79535-47bb-0310-9956-ffa450edef68
2011-02-06 22:59:17 +00:00
Steven Rowe 47b102fe2a LUCENE-2894: make prettify findable from everywhere
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1067796 13f79535-47bb-0310-9956-ffa450edef68
2011-02-06 22:55:43 +00:00
Doron Cohen 5ab6a5e7dd LUCENE-1540: Improvements to contrib.benchmark for TREC collections - bring back case insensitivity to path names using Locale.ENGLISH - port/merged from 3x r1067705.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1067772 13f79535-47bb-0310-9956-ffa450edef68
2011-02-06 21:25:53 +00:00
Shai Erera ece1524805 LUCENE-2609: Generate jar containing test classes (trunk)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1067738 13f79535-47bb-0310-9956-ffa450edef68
2011-02-06 19:48:54 +00:00
Robert Muir 32b914572d LUCENE-2907: fix automaton thread hazard: change query to compute immutable compiled form in ctor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1067720 13f79535-47bb-0310-9956-ffa450edef68
2011-02-06 18:17:00 +00:00
Doron Cohen 70cbc8acab LUCENE-1540: Improvements to contrib.benchmark for TREC collections - fix test failures in some locales due to toUpperCase() - port/merged from 3x.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1067705 13f79535-47bb-0310-9956-ffa450edef68
2011-02-06 17:18:53 +00:00
Steven Rowe 5c1983b27b Make the lucene module's run configuration appear on the list, and make it selected by default
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1067566 13f79535-47bb-0310-9956-ffa450edef68
2011-02-06 01:16:15 +00:00
Koji Sekiguchi a3dbc97978 LUCENE-2894: Use google-code-prettify for syntax highlighting in javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1067551 13f79535-47bb-0310-9956-ffa450edef68
2011-02-05 23:36:32 +00:00
Michael McCandless 822eb32f37 force in-order merging for this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1067427 13f79535-47bb-0310-9956-ffa450edef68
2011-02-05 11:51:23 +00:00
Doron Cohen 8c487e588c LUCENE-1540: Improvements to contrib.benchmark for TREC collections - port/merge from 3x.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1067359 13f79535-47bb-0310-9956-ffa450edef68
2011-02-05 00:35:09 +00:00
Michael McCandless 2de3b26a09 LUCENE-2904: LogMP pays attention to which segments are already being merged
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1067299 13f79535-47bb-0310-9956-ffa450edef68
2011-02-04 21:54:32 +00:00
Robert Muir cdb47ea15f SOLR-1057: fix wrong classname in example schema
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1067176 13f79535-47bb-0310-9956-ffa450edef68
2011-02-04 13:11:40 +00:00
Uwe Schindler 7c69aee7cc More charset violations
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1067165 13f79535-47bb-0310-9956-ffa450edef68
2011-02-04 12:37:31 +00:00
Uwe Schindler 783c8fd7b5 More charset violations
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1067163 13f79535-47bb-0310-9956-ffa450edef68
2011-02-04 12:27:16 +00:00
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