Commit Graph

11209 Commits

Author SHA1 Message Date
Shai Erera 7576b7c2c3 rename two private members in LuceneTaxonomyReader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1179214 13f79535-47bb-0310-9956-ffa450edef68
2011-10-05 13:23:01 +00:00
Uwe Schindler 9ae47eaa35 LUCENE-3463: Add @UseNoMemoryExpensiveCodec annotation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1179210 13f79535-47bb-0310-9956-ffa450edef68
2011-10-05 13:16:22 +00:00
Michael McCandless 86124e2667 small cleanups to TestGrouping to try to make it easier to understand
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1179203 13f79535-47bb-0310-9956-ffa450edef68
2011-10-05 12:52:23 +00:00
Shai Erera e910534b7a LUCENE-3485: port 3x to trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1179194 13f79535-47bb-0310-9956-ffa450edef68
2011-10-05 12:24:05 +00:00
Steven Rowe 26abda038e fix broken link in the second demo page
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1178995 13f79535-47bb-0310-9956-ffa450edef68
2011-10-04 22:40:49 +00:00
Steven Rowe c8b0eb8254 SOLR-2303: remove the last log4j vestiges
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1178950 13f79535-47bb-0310-9956-ffa450edef68
2011-10-04 21:02:55 +00:00
Doron Cohen e5320c104c iLUCENE-3484: changes.txt edit - add my name...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1178936 13f79535-47bb-0310-9956-ffa450edef68
2011-10-04 19:56:35 +00:00
Doron Cohen e1560a8e81 LUCENE-3484: Fix NPE in TaxonomyWriter: parents array creation was not thread safe.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1178923 13f79535-47bb-0310-9956-ffa450edef68
2011-10-04 19:30:05 +00:00
Robert Muir 2a73ef7e6c LUCENE-3474: don't pull our own liveDocs in MultiPhraseQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1178881 13f79535-47bb-0310-9956-ffa450edef68
2011-10-04 17:57:10 +00:00
Robert Muir 76fd471b54 LUCENE-3478: ensure the epsilon is always at least a tiny size for crazy small scores
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1178819 13f79535-47bb-0310-9956-ffa450edef68
2011-10-04 14:52:32 +00:00
Mark Robert Miller c1be69731d fix another getStats issue - soft commit was also recently added using time for docs stat
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1178632 13f79535-47bb-0310-9956-ffa450edef68
2011-10-03 23:22:20 +00:00
Michael McCandless edb79b1f39 LUCENE-3464: add asserts
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1178627 13f79535-47bb-0310-9956-ffa450edef68
2011-10-03 23:09:43 +00:00
Michael McCandless ae43014041 LUCENE-3464: rename IR.reopen -> IR.openIfChanged, and return null (not old reader) if there are no changes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1178612 13f79535-47bb-0310-9956-ffa450edef68
2011-10-03 22:07:00 +00:00
Robert Muir e0b0721fbc LUCENE-3478: committed wrong patch: need to abs for relative delta as TestComplexExplanations creates negative scores
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1178417 13f79535-47bb-0310-9956-ffa450edef68
2011-10-03 14:34:50 +00:00
Robert Muir d3b2ff9af2 LUCENE-3478: use a relative rather than abs score delta for score vs explain comparisons
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1178406 13f79535-47bb-0310-9956-ffa450edef68
2011-10-03 13:12:00 +00:00
Michael McCandless 52e8d40c2f LUCENE-3476: small code cleanup (use one try/finally/success)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1177995 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 14:39:37 +00:00
Simon Willnauer d607980a5a LUCENE-3462: Release lock in DocumentsWriterPerThreadPool if new state has been deactivated during close.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1177941 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 08:12:30 +00:00
Simon Willnauer d514a4ac75 LUCENE-3476: SearcherManager misses to close IR if manager is closed during reopen
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1177940 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 08:10:21 +00:00
Robert Muir b4ff06f88e LUCENE-3474: pass Bits to weight.scorer instead of weights pulling their own from the reader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1177879 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 01:03:35 +00:00
Robert Muir 981a297488 LUCENE-3480: refactoring of docvalues params in Codec.java
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1177851 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 21:53:38 +00:00
Michael McCandless ec2b654231 LUCENE-3477: add explicit breaks in jflex sources so we don't hit compiler warnings; fix a couple other warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1177723 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 16:23:24 +00:00
Mark Robert Miller d4b4aefabb SOLR-2799: Update CloudState incrementally rather than always reading the data at each zk node.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1177360 13f79535-47bb-0310-9956-ffa450edef68
2011-09-29 16:44:24 +00:00
Michael McCandless 02736c0976 add testcase
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1177049 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 20:36:41 +00:00
Robert Muir ab5a62cf46 add a test that tests more than one document
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1177048 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 20:33:16 +00:00
Martijn van Groningen 7cbcf2a2de LUCENE-3468: Replaced last() and remove() with pollLast() in FirstPassGroupingCollector
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1177008 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 18:40:22 +00:00
Simon Willnauer 534d8abed0 LUCENE-3467: Cut over numeric docvalues to fixed straight bytes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1176906 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 14:52:30 +00:00
Simon Willnauer 42b419aa31 fix javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1176774 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 08:09:27 +00:00
Christopher John Male 8d28270460 LUCENE-3470: Changed Field constructor signatures order to value, fieldtype
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1176773 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 08:07:16 +00:00
Simon Willnauer 1f731984ba LUCENE-3445: Make SearcherManager#acquire lock free
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1176772 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 08:02:01 +00:00
Christopher John Male 67c13bd2fe LUCENE-3455: Renamed Analyzer.reusableTokenStream to Analyzer.tokenStream
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1176728 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 05:26:54 +00:00
Mark Robert Miller 810f331fa2 ignore expected exception in test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1176598 13f79535-47bb-0310-9956-ffa450edef68
2011-09-27 20:26:10 +00:00
Robert Muir 34220d0e1f LUCENE-3469: move DocumentStoredFieldVisitor to o.a.l.document
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1176494 13f79535-47bb-0310-9956-ffa450edef68
2011-09-27 18:06:19 +00:00
Michael McCandless 9e624f2652 LUCENE-3472: put Document.getValues back
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1176487 13f79535-47bb-0310-9956-ffa450edef68
2011-09-27 17:44:05 +00:00
Michael McCandless 4915dcc3f3 LUCENE-3471: move comment up
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1176479 13f79535-47bb-0310-9956-ffa450edef68
2011-09-27 17:21:54 +00:00
Michael McCandless 09c2d563f1 LUCENE-3471: don't close ES until after writer; add try/finally/success logic during warming so we close newly reopened but-not-swapped reader; move IS's locking on merging results out of for loop
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1176478 13f79535-47bb-0310-9956-ffa450edef68
2011-09-27 17:19:11 +00:00
Robert Muir dc4450207f remove dead code: Document.getFields(String) cannot return null
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1176389 13f79535-47bb-0310-9956-ffa450edef68
2011-09-27 14:04:44 +00:00
Christopher John Male fe3982c746 LUCENE-3455: Moved remaining Analysis consumers over to using reusableTokenStream
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1176191 13f79535-47bb-0310-9956-ffa450edef68
2011-09-27 04:07:38 +00:00
Michael McCandless 33893d0e88 LUCENE-3445: silly concurrency bug -- get and swapSearcher need to be sync'd
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1176114 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 22:52:42 +00:00
Chris M. Hostetter 9bdaa028d6 SOLR-2757: min/max functions now take unlimited number of arguments
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1176097 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 22:03:31 +00:00
Michael McCandless 1e554bd943 switch packed ints impl from IndexInput/Output to DataInput/Output
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175984 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 18:25:01 +00:00
Chris M. Hostetter 4287d1bb52 SOLR-2739: more assumptions to ensure file is not writable
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175975 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 18:05:25 +00:00
Robert Muir 74ebea2a3f wrap 3.5 changes to 80 character lines
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175956 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 16:56:32 +00:00
Robert Muir 8f23139191 wrap trunk changes to 80 character lines
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175955 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 16:55:38 +00:00
Robert Muir cad1c53ed3 LUCENE-2215: move Changes.txt entry to 3.5 section
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175942 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 16:34:29 +00:00
Robert Muir 970bed4bca use textField not Stringfield in this test (it was intended to analyze the english)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175936 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 16:22:46 +00:00
Michael McCandless e1d1d34e56 LUCENE-3461: catch same doc-values field added twice in one doc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175935 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 16:20:10 +00:00
Mark Robert Miller f5d625821f be careful when shutting down - in some cases in tests we did not yet fully start up
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175862 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 13:31:37 +00:00
Shalin Shekhar Mangar c9637196ae SOLR-2791 -- Placing change log entry in the right release section
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175699 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 07:17:22 +00:00
Shalin Shekhar Mangar 9ed62f999b SOLR-2791 -- Replication: abortfetch command is broken if replication was started by fetchindex command instead of a regular poll.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175696 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 07:13:44 +00:00
Christopher John Male a6157373d8 LUCENE-3455: Fixed TestLongPostings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175685 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 06:12:53 +00:00