Dawid Weiss
b399df8bed
LUCENE-4115: JAR resolution/ cleanup should be done automatically for ant clean/ eclipse/ resolve.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1353967 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 11:47:31 +00:00
Sami Siren
0cf9ac0833
SOLR-3558 change SnapPuller to use solrj
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1353889 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 09:28:03 +00:00
Shai Erera
82533898f2
LUCENE-4164: Improve IndexWriter.addIndexes(IndexReader) javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1353843 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 07:26:44 +00:00
Chris M. Hostetter
ab6da236cd
SOLR-3577: better javadocs and error messages related to global/fieldtype SimilarityFactory usage (ie: SOLR-2338)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1353801 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 01:59:15 +00:00
Robert Muir
0b4cae1b5e
fix wrong version number in changes entry
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1353702 13f79535-47bb-0310-9956-ffa450edef68
2012-06-25 19:10:04 +00:00
Simon Willnauer
7c26573fe3
LUCENE-4158: leave stall control on each wakeup call to prevent full flush starvation due to queued flushes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1353433 13f79535-47bb-0310-9956-ffa450edef68
2012-06-25 08:46:29 +00:00
Uwe Schindler
fcc0fea1f3
LUCENE-4163: Improve concurrency of MMapIndexInput.clone() by using the new WeakIdentityMap on top of a ConcurrentHashMap to manage the cloned instances. WeakIdentityMap was extended to support iterating over its keys
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1353101 13f79535-47bb-0310-9956-ffa450edef68
2012-06-23 09:38:02 +00:00
Uwe Schindler
a1962d37ba
Prevent incorrect usage of BytesRef as I have seen quite often on the net!
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1353097 13f79535-47bb-0310-9956-ffa450edef68
2012-06-23 09:20:27 +00:00
Michael McCandless
947979e3e5
reduce number of open files in tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1353004 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 19:37:09 +00:00
Uwe Schindler
78f215f96e
LUCENE-4155: Javadocs fix (very strange this @see tag...)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1352967 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 16:52:14 +00:00
Uwe Schindler
1be9fcd984
LUCENE-4155: Add missing import changes in Kumoroji Tools (unfortunately they are not in eclipse build path, should we fix?! - I have no idea how to do this)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1352949 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 16:17:20 +00:00
Uwe Schindler
737bb84db3
LUCENE-4155: Move & hide oal.util classes to better packages to reduce import statements and too many public classes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1352942 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 16:04:38 +00:00
Tommaso Teofili
7d3d213c04
[LUCENE-4159] - lucene queries review: adding final modifiers, removing trailing semicolons, using for each loops instead of index based iterations
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1352795 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 08:17:34 +00:00
David Wayne Smiley
991bbd7b57
SOLR-3313 Rename Query Type to Query Parser
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1352760 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 02:41:36 +00:00
Jan Høydahl
59313cd115
SOLR-3351: eDismax: ps2 and ps3 params
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1352726 13f79535-47bb-0310-9956-ffa450edef68
2012-06-21 23:40:05 +00:00
Uwe Schindler
a2e8a95f6a
LUCENE-4162: Fix infinite loop on wrong argument in MathUtil.log
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1352609 13f79535-47bb-0310-9956-ffa450edef68
2012-06-21 16:48:03 +00:00
Michael McCandless
580828461c
LUCENE-4147: fix thread safety issues when IndexWriter's rollback & commit are called simultaneously
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1352600 13f79535-47bb-0310-9956-ffa450edef68
2012-06-21 16:28:57 +00:00
Erick Erickson
a112e601f1
Fix for SOLR-3565, removing maxFieldLength from example schema
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1352565 13f79535-47bb-0310-9956-ffa450edef68
2012-06-21 15:16:09 +00:00
Simon Willnauer
c4e4b36037
LUCENE-4158: Simplify DocumentsWriterStallControl to prevent further deadlocks
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1352535 13f79535-47bb-0310-9956-ffa450edef68
2012-06-21 14:02:18 +00:00
Simon Willnauer
0ae03a37cf
allow junit tempDir property to be overwritten via system properties
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1352504 13f79535-47bb-0310-9956-ffa450edef68
2012-06-21 11:49:56 +00:00
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