David Wayne Smiley
b4eb2841d8
LUCENE-4157 Improve Lucene Spatial testing: removed some base classes and added extensive geohash based test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1352420 13f79535-47bb-0310-9956-ffa450edef68
2012-06-21 06:05:37 +00:00
Erick Erickson
0c033a2878
Fix for Solr 3453
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1352250 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 18:15:15 +00:00
Chris M. Hostetter
bc646011f5
LUCENE-4146: improvements to how -Dtests.iters works with -Dtests.method/-Dtestmethod
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1352238 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 17:58:08 +00:00
Michael McCandless
6b42ac3cea
rely less on Thread.sleep
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1352173 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 15:56:01 +00:00
Shai Erera
da7991ea92
LUCENE-4156: remove synchronization from DirectoryTaxonomyWriter.getSize()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1352038 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 10:37:43 +00:00
Shai Erera
c62e24a4f3
remove incorrect comment from IndexSplitter javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351940 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 05:25:28 +00:00
David Wayne Smiley
f12b94ab86
SOLR-3313 Rename Query Type to Request Handler
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351932 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 04:23:07 +00:00
David Wayne Smiley
96d5d8e481
SOLR-2724 deprecate DefaultSearchField and defaultOperator
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351931 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 04:17:04 +00:00
Robert Muir
5cd8d27ba4
don't use assume here
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351879 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 22:03:38 +00:00
Chris M. Hostetter
90cdc559d8
SOLR-3548: Fixed a bug in the cachability of queries using the {!join} parser or the strdist() function, as well as some minor improvements to the hashCode implementation of {!bbox} and {!geofilt} queries
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351839 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 20:27:06 +00:00
Michael McCandless
40f69e143c
don't use Memory/SimpleText postings format when indexing too many tokens from random data
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351829 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 20:08:50 +00:00
Adrien Grand
a94e7cd49e
LUCENE-4148: Make _TestUtil able to generate random longs.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351718 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 13:59:04 +00:00
Adrien Grand
831c0648f9
LUCENE-4062: PackedInts improvements.
...
* Direct64 now uses System.arraycopy for its bulk operations,
* Packed64SingleBlock unnecessary optimizations have been removed.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351682 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 12:44:28 +00:00
Shai Erera
5f97ec3a7e
LUCENE-4061: fix another concurrency issue with DirTaxoWriter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351672 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 12:30:38 +00:00
Michael McCandless
e1466e8d0a
suppress MemoryPostingsFormat for this test, to prevent false OOME
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351661 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 12:03:25 +00:00
Uwe Schindler
ae212ff6f6
LUCENE-3866: CompositeReader.getSequentialSubReaders() now returns unmodifiable List<? extends IndexReader>. ReaderUtil.Gather was removed, as IndexReaderContext.leaves() is now the preferred way to access sub-readers
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351590 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 07:24:29 +00:00
Chris M. Hostetter
f6bd05ca2f
SOLR-3522: fixed parsing of the 'literal()' function
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351460 13f79535-47bb-0310-9956-ffa450edef68
2012-06-18 19:03:21 +00:00
Shai Erera
7d0d55b0bf
fix CHANGES issues caused by latest commits to LUCENE-4132,4108
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351339 13f79535-47bb-0310-9956-ffa450edef68
2012-06-18 13:46:58 +00:00
Adrien Grand
9cb55ddb17
LUCENE-4149: Fix test case.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351231 13f79535-47bb-0310-9956-ffa450edef68
2012-06-18 08:28:58 +00:00
Shai Erera
a11013a990
LUCENE-4132: introduce LiveIndexWriterConfig, returned from IndexWriter.getConfig()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351225 13f79535-47bb-0310-9956-ffa450edef68
2012-06-18 08:09:31 +00:00
Martijn van Groningen
da70cee7ff
SOLR-3406: Extended grouped faceting support to facet.query and facet.range parameters.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351219 13f79535-47bb-0310-9956-ffa450edef68
2012-06-18 07:16:40 +00:00
Uwe Schindler
bcaa52c562
The base calculation in ReaderUtil.Gather is so complicated, add some assert to verify that it is still correct. The code lead to another bug I fixed in CompositeReaderContext long time ago (at least it explains why Simon did it wrong...)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351129 13f79535-47bb-0310-9956-ffa450edef68
2012-06-17 17:22:28 +00:00
Uwe Schindler
7f9d6b89aa
LUCENE-4106: Fix duplicate FieldCache.StopFillCacheException
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351108 13f79535-47bb-0310-9956-ffa450edef68
2012-06-17 13:56:10 +00:00
David Wayne Smiley
83616468a0
SOLR-3534 dismax should consult 'df' as a default for 'qf' and throw an exception when none set
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351026 13f79535-47bb-0310-9956-ffa450edef68
2012-06-17 00:27:05 +00:00
Erik Hatcher
97b9307a6e
Remove capitalizing of facet values. This is confusing when exact values are expected
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1350890 13f79535-47bb-0310-9956-ffa450edef68
2012-06-16 08:55:05 +00:00
Robert Muir
b26fe0848e
add explicit test for the same token stacked on top of itself
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1350764 13f79535-47bb-0310-9956-ffa450edef68
2012-06-15 20:02:05 +00:00
Robert Muir
d13f373e15
LUCENE-4065: disable offsets checks for now, in case the ctor gets false as a param
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1350723 13f79535-47bb-0310-9956-ffa450edef68
2012-06-15 18:16:13 +00:00
Erik Hatcher
26cce83bc8
SOLR-3549: Fix DIH db example
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1350718 13f79535-47bb-0310-9956-ffa450edef68
2012-06-15 17:58:54 +00:00
David Wayne Smiley
1ed4c4d40e
SOLR-3304 Removed a small bit of redundant testing that tests if [e]dismax defaults to schema defaultSearchField (already tested by TestExtendedDismaxParser). These specific tests will fail for another reason soon if left as is.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1350466 13f79535-47bb-0310-9956-ffa450edef68
2012-06-15 05:42:51 +00:00
Sami Siren
a440c1c1ad
SOLR-139 add solrj test that exercises field update and optimistic locking
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1350464 13f79535-47bb-0310-9956-ffa450edef68
2012-06-15 05:33:30 +00:00
Chris M. Hostetter
77e0c78b04
SOLR-3267: make TestSort.testRandomFieldNameSorts less wishy-washy about random strings that might produce function names
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1350444 13f79535-47bb-0310-9956-ffa450edef68
2012-06-15 02:00:38 +00:00
Koji Sekiguchi
dd01aad660
SOLR-3542: add WeightedFragListBuilder
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1350436 13f79535-47bb-0310-9956-ffa450edef68
2012-06-15 01:15:26 +00:00
Michael McCandless
d6a8b367d2
javadocs typo
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1350429 13f79535-47bb-0310-9956-ffa450edef68
2012-06-15 00:02:32 +00:00
Martijn van Groningen
fb1581dbbc
LUCENE-4082: Added explain to ToParentBlockJoinQuery
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1350416 13f79535-47bb-0310-9956-ffa450edef68
2012-06-14 22:40:06 +00:00
Mark Robert Miller
222fb0be9d
revert test change - it did not help
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1350357 13f79535-47bb-0310-9956-ffa450edef68
2012-06-14 18:20:13 +00:00
James Dyer
fb4e0a644b
SOLR-1958: Empty fetchMailsSince exception
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1350269 13f79535-47bb-0310-9956-ffa450edef68
2012-06-14 14:37:51 +00:00
Sami Siren
53a1ce8d69
SOLR-3543 do not catch exceptions in JavaBinLoader
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1350199 13f79535-47bb-0310-9956-ffa450edef68
2012-06-14 11:37:42 +00:00
Sami Siren
32a1fe42d0
remove single sleep, poll
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1350195 13f79535-47bb-0310-9956-ffa450edef68
2012-06-14 11:15:56 +00:00
Koji Sekiguchi
d22b00ea16
typo: bost -> boost
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1350074 13f79535-47bb-0310-9956-ffa450edef68
2012-06-14 02:10:52 +00:00
Chris M. Hostetter
49b9a671fe
SOLR-2599: CloneFieldUpdateProcessorFactory
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1350050 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 22:57:48 +00:00
Uwe Schindler
ff9268e067
LUCENE-4137: BaseCompositeReader should throw exception if docids overflow
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1350047 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 22:46:41 +00:00
Robert Muir
ee0d911d77
LUCENE-4135: checkDateFormatSanity needs to handle ParseException
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349992 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 18:59:22 +00:00
Robert Muir
6c459114c3
check that response code is 200 before comparing bytes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349979 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 18:22:40 +00:00
Michael McCandless
6071ad98c1
fix intermittent test failure: make sure reader pooling is on before we start the index threads
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349897 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 15:03:53 +00:00
Adrien Grand
a71c3e7147
FST.pack: Add a link to Dawid's paper.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349837 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 13:35:58 +00:00
Adrien Grand
fb8be86ec8
Update Kuromoji dictionary following changes in FST serialization format.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349830 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 13:17:30 +00:00
Michael McCandless
85d7deda7d
add more details on test failure
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349828 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 13:13:33 +00:00
Adrien Grand
4104901e64
LUCENE-4120: FST.pack: Use packed integer arrays for improved memory efficiency.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349826 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 13:12:44 +00:00
Robert Muir
9182f9f907
beef up test for deletes a bit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349802 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 12:39:39 +00:00
Robert Muir
3c69abe29f
add stress test for postings reader
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349795 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 12:30:54 +00:00