Commit Graph

541 Commits

Author SHA1 Message Date
Mark Robert Miller 83fa9d80fa SOLR-3125: When a SolrCore registers in zk there may be stale leader state in the clusterstate.json.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1243195 13f79535-47bb-0310-9956-ffa450edef68
2012-02-12 02:45:06 +00:00
Mark Robert Miller 4cffbd71b5 more specific logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1243194 13f79535-47bb-0310-9956-ffa450edef68
2012-02-12 02:44:30 +00:00
Mark Robert Miller 1825356d26 use a connection timeout as well
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1243187 13f79535-47bb-0310-9956-ffa450edef68
2012-02-12 01:14:05 +00:00
Mark Robert Miller 2fc6800bdf SOLR-3122: do not interrupt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1243154 13f79535-47bb-0310-9956-ffa450edef68
2012-02-11 21:03:46 +00:00
Mark Robert Miller 5c50bf4c65 only print to stdout if test did not finish
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1243135 13f79535-47bb-0310-9956-ffa450edef68
2012-02-11 19:40:17 +00:00
Uwe Schindler d17d600da5 LUCENE-3770: FilterIndexReader was renamed to FilterAtomicReader and now extends AtomicReader. If you want to filter composite readers like DirectoryReader or MultiReader, filter their atomic leaves and build a new CompositeReader (e.g. MultiReader) around them.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1243051 13f79535-47bb-0310-9956-ffa450edef68
2012-02-11 13:06:39 +00:00
Ryan McKinley 7e3a10e107 SOLR-3121: (admin UI) load term info dynamically for each field
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242998 13f79535-47bb-0310-9956-ffa450edef68
2012-02-11 02:55:45 +00:00
Mark Robert Miller 17ac9321a9 unignore this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242927 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 21:15:18 +00:00
Robert Muir 590741dcfe LUCENE-3766: Remove Tokenizer's default ctor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242890 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 19:12:35 +00:00
Mark Robert Miller 18a1d40283 SOLR-2957: fix default core behavior when in zk mode
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242843 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 16:42:57 +00:00
Yonik Seeley e138de254f SOLR-3120: spatial post-filter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242832 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 16:00:26 +00:00
Mark Robert Miller e9380c5370 if we cannot find a collection, return null rather than NPE
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242830 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 15:57:00 +00:00
Mark Robert Miller 7728dcc5f2 do not put num_shards in the cluster state
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242828 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 15:56:19 +00:00
Mark Robert Miller 76f0587508 SOLR-2957: collection URLs in a cluster
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242800 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 14:52:44 +00:00
Robert Muir 8a50cefc6b LUCENE-3748: EnglishPossessiveFilter did not work with a proper right quotation mark
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242740 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 11:01:11 +00:00
Mark Robert Miller 9332f2e027 SOLR-3088: create shard placeholders
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242639 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 02:24:25 +00:00
Chris M. Hostetter 7c51126b86 SOLR-2802: change min/max processors to fail hard if values are not comparable, also imrpvoe error handling/logging in FieldMutatingUpdateProcessor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242625 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 00:43:54 +00:00
Yonik Seeley 6c4139a62b tests: add testfunc to ensure weighting occurs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242617 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 00:22:01 +00:00
Robert Muir 8c2e20bb2d SOLR-3056: add example japanese field type, lazy-load kuromoji resources
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242573 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 22:35:24 +00:00
Chris M. Hostetter 343fead2bc SOLR-2802: fix compilation problem rmuir was seeing in his IDE
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242534 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 21:20:47 +00:00
Chris M. Hostetter 4906b8a614 SOLR-2802: several new UpdateProcessorFactories for modifing fields of documents, along with base classes to make writing these types of classes easier for users
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242514 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 20:41:21 +00:00
Robert Muir 72ae3171be LUCENE-3765: Trappy behavior with StopFilter/ignoreCase
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242497 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 19:59:50 +00:00
Mark Robert Miller 3c5d8633d9 SOLR-3108: Error in SolrCloud's replica lookup code when replica's are hosted in same Solr instance (test)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242324 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 13:59:11 +00:00
Uwe Schindler 25cfcfb61e LUCENE-3757: Change AtomicReaderContext.leaves() to return itsself as only leave to simplify code and remove an otherwise unneeded ReaderUtil method
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242233 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 08:14:19 +00:00
Erick Erickson 3f9389b3ea Fix for SOLR-3111 - fl param not working when more than one field was specified. Also honors * for "all fields"
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242150 13f79535-47bb-0310-9956-ffa450edef68
2012-02-08 22:30:50 +00:00
Robert Muir dac1b58277 SOLR-3097, SOLR-3105: add fieldtypes for different languages to the example
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1241878 13f79535-47bb-0310-9956-ffa450edef68
2012-02-08 12:07:52 +00:00
Steven Rowe eb0ab3d392 LUCENE-3753: Restructure the Lucene build system
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1241588 13f79535-47bb-0310-9956-ffa450edef68
2012-02-07 19:59:05 +00:00
Yonik Seeley a26d3d1d4c SOLR-3104: get sortfield values for fsv in docid order
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1241537 13f79535-47bb-0310-9956-ffa450edef68
2012-02-07 18:01:54 +00:00
Mark Robert Miller d98d63d83e set timeout on sync request
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1241059 13f79535-47bb-0310-9956-ffa450edef68
2012-02-06 16:18:41 +00:00
Erick Erickson de88978db0 Added types to javadoc
used // rather than /**  */ to keep IntelliJ from making a stupid complaint

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1241010 13f79535-47bb-0310-9956-ffa450edef68
2012-02-06 13:50:53 +00:00
Robert Muir 4710d32447 LUCENE-3749: replace SimilarityProvider with PerFieldSimilarityWrapper
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1241001 13f79535-47bb-0310-9956-ffa450edef68
2012-02-06 12:48:01 +00:00
Simon Willnauer dfce8dd760 Retrieve CoreContainer from EmbeddedSolrServer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1240980 13f79535-47bb-0310-9956-ffa450edef68
2012-02-06 11:23:33 +00:00
Robert Muir c880ef0647 SOLR-1860: support snowball format in stoplists
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1240784 13f79535-47bb-0310-9956-ffa450edef68
2012-02-05 19:33:56 +00:00
Robert Muir bef6e3664d LUCENE-3726: additional tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1240760 13f79535-47bb-0310-9956-ffa450edef68
2012-02-05 16:16:02 +00:00
Robert Muir 009608d9f2 LUCENE-3726: default Kuromoji to search mode
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1240710 13f79535-47bb-0310-9956-ffa450edef68
2012-02-05 12:41:13 +00:00
Koji Sekiguchi 0e73d06216 SOLR-3054: add a period at the end of the first sentence in javadoc in order to avoid displaying the sample definition of schema.xml in o.a.s.analysis package table, and add indent to the sample for readability
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1240655 13f79535-47bb-0310-9956-ffa450edef68
2012-02-05 02:38:18 +00:00
Yonik Seeley 42bec45143 SOLR-3017: make StopFilterFactory return TokenStream
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1240371 13f79535-47bb-0310-9956-ffa450edef68
2012-02-03 22:08:13 +00:00
Mark Robert Miller 047b368b59 SOLR-3091: When running in SolrCloud mode, whether a instance is supposed to be part of the quorum or not, it tries to start a local Solr ZK server.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1240239 13f79535-47bb-0310-9956-ffa450edef68
2012-02-03 16:41:32 +00:00
Mark Robert Miller ce3f9caf86 SOLR-3082: If you use a lazy replication request handler, the commit listener will not be registered right away, and might miss tracking the last commit.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1240233 13f79535-47bb-0310-9956-ffa450edef68
2012-02-03 16:26:20 +00:00
Tommaso Teofili 1b4c60816c [SOLR-3092] - updated TypeTokenFilterFactory to handle useWhiteList parameter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1240081 13f79535-47bb-0310-9956-ffa450edef68
2012-02-03 11:11:25 +00:00
Robert Muir d80355fd21 LUCENE-3566: parameterize H1 and H2
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239680 13f79535-47bb-0310-9956-ffa450edef68
2012-02-02 15:46:43 +00:00
Yonik Seeley 26cc705354 recovery: don't replay log file on clean shutdown + startup
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239465 13f79535-47bb-0310-9956-ffa450edef68
2012-02-02 05:59:55 +00:00
Yonik Seeley 0456daf3bb return useful messages for wrapped exceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239453 13f79535-47bb-0310-9956-ffa450edef68
2012-02-02 03:13:32 +00:00
Yonik Seeley f6e4fceda2 SOLR-3078: only return update versions on request
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239437 13f79535-47bb-0310-9956-ffa450edef68
2012-02-02 02:17:54 +00:00
Yonik Seeley 49799e031f LUCENE-1536: avoid needless checking of livedocs for solr DocSets
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239432 13f79535-47bb-0310-9956-ffa450edef68
2012-02-02 01:37:50 +00:00
Yonik Seeley fa11c89517 SOLR-3062: join was ignoring acceptDocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239355 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 22:02:07 +00:00
Yonik Seeley 8eca88f9d4 SOLR-1726: disable deep paging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239326 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 21:15:24 +00:00
Chris M. Hostetter 07d334be9b SOLR-3084: Fixed initialiazation error when using <queryResponseWriter default="true" ... />
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239316 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 20:55:18 +00:00
Yonik Seeley fca632d48b tests: fix failure due to other methods using same id space
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239284 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 19:37:36 +00:00
Grant Ingersoll b912f6da98 SOLR-1726: add deep paging support
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239181 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 16:01:34 +00:00
Mark Robert Miller 5d2de95e35 SOLR-3065: clean up exception handling / logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239180 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 15:52:10 +00:00
Yonik Seeley 8e357cac55 SOLR-3062: implement openSearcher=false, make commitWithin soft, refactor commit param parsing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239155 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 14:51:07 +00:00
Robert Muir 3d55e144ac SOLR-3056: support kuromoji in core
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239117 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 13:01:44 +00:00
Uwe Schindler 5f38919e81 LUCENE-3734: Allow customizing/subclassing of DirectoryReader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239043 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 10:41:54 +00:00
Mark Robert Miller 440b514452 revert these config changes - see SOLR-3082 - we should solve this another way
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238838 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 22:36:50 +00:00
Mark Robert Miller 942b41c004 don't lazy load the replication handler - you can miss replicating commits that happen before the handler is loaded
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238814 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 21:05:42 +00:00
Mark Robert Miller a4591b1f05 SOLR-3081: default warming queries to distrib=false
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238744 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 18:54:56 +00:00
Mark Robert Miller f733000e0f better error msg than NPE when collection cannot be found
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238697 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 17:24:05 +00:00
Mark Robert Miller 0d8d2f48e4 allow for over closing SolrZkClient as we do with SolrCore
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238680 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 15:58:18 +00:00
Martijn van Groningen cf538e6f74 SOLR-3073: Fixed 'Invalid UUID string' error
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238678 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 15:56:38 +00:00
Mark Robert Miller d3e50cad5f don't do an extra close - this will happen at shutdown
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238677 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 15:56:32 +00:00
Uwe Schindler 18533af348 LUCENE-2858: Fix Javadoc warnings, still missing some text for new classes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1238026 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 21:45:08 +00:00
Robert Muir 3ea54b5401 merge trunk (1237715:1238015)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1238024 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 21:19:54 +00:00
Uwe Schindler 10614f9b26 LUCENE-2858: Port Java to new API, share slow reader as SolrIndexSearcher.getAtomicReader()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237812 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 17:29:22 +00:00
Mark Robert Miller 76fc82a199 SOLR-3075: Overseer does not check cloudstate for previously assigned shardId but generates a new one
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237803 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 17:16:54 +00:00
Uwe Schindler bfa1dec595 LUCENE-2858: Move the ReaderContexts out of their enclosing classes and make top-level classes. Makes import statements not so verbose and its much easier to understand. Prevent subclassing of IndexReader and IndexReaderContext directly.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237596 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 10:46:30 +00:00
Mark Robert Miller 8ea1719aef when aggressively killing leaders in tests, don't go after any leader, go after the leader for the given slice
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237513 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 00:41:39 +00:00
Michael McCandless 2e5be2f75c LUCENE-3672: reduce reliance on timestamps
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237497 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 22:38:32 +00:00
Mark Robert Miller 1aef3f9fef revert - did not help
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237341 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 16:51:28 +00:00
Mark Robert Miller 1b2f952ecc fix javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237308 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 15:02:53 +00:00
Mark Robert Miller 6b2b5c5cab set a timeout on this solrserver as well
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237297 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 14:27:58 +00:00
Mark Robert Miller 50534a52b2 ignore test until we figure out why we get a read time out on an up server on jenkins in this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237293 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 14:06:42 +00:00
Mark Robert Miller 9d8a62ce96 if there is an exception when closing the writer, log it and keep closing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237200 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 03:41:37 +00:00
Mark Robert Miller 210301b424 SOLR-3065: Let overseer process cluster state changes asynchronously
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237194 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 02:22:55 +00:00
Mark Robert Miller 9a1222efc5 SOLR-3063: Bug in LeaderElectionIntgrationTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237193 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 02:12:00 +00:00
Mark Robert Miller 23e845d479 enable this test again
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237191 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 01:55:30 +00:00
Mark Robert Miller 6d5e8df1da raise the timeout on this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237190 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 01:53:55 +00:00
Mark Robert Miller 7a0a470401 tweak test and pull atLeast() out of for loop
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236968 13f79535-47bb-0310-9956-ffa450edef68
2012-01-28 03:03:46 +00:00
Mark Robert Miller ece30470f2 try making sure we wait for any recovery to stop for each core in core container shutdown
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236959 13f79535-47bb-0310-9956-ffa450edef68
2012-01-28 02:19:42 +00:00
Mark Robert Miller 5a020a48d2 change test so that even if there is an exception in the ClientThread constructor, the zkclient is closed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236956 13f79535-47bb-0310-9956-ffa450edef68
2012-01-28 02:03:29 +00:00
Yonik Seeley f6e22fd4fa SOLR-3035: make text response writers work with byte, short, and byte[] values
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236894 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 21:27:57 +00:00
Mark Robert Miller cc93925b9f don't allow registering a new SolrCore if the CoreContainer has been shutdown
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236889 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 21:19:08 +00:00
Mark Robert Miller af77591d7a remove this isClosed check that we didn't have before and shouldn't need now
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236886 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 21:02:31 +00:00
Mark Robert Miller 2bc0007244 try ignoring this test for now so we can isolate which tests are involved in the indexsearcher open/close imbalance
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236830 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 19:01:53 +00:00
Mark Robert Miller 440a7991d3 try to be more aggressive shutting down the search executor in the face of interruption
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236748 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 16:40:49 +00:00
Mark Robert Miller 6d1e24554a be more aggressive about trying to shut down executors in this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236740 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 16:31:47 +00:00
Mark Robert Miller 17a5d3e5cb we don't care if commit fails while we wait for things to settle down in this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236525 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 04:38:02 +00:00
Mark Robert Miller 21e0d0c909 must have lost this: when force=true, do not trust comparing version and generation - this is not a strong enough check
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236518 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 04:12:20 +00:00
Mark Robert Miller ccee2bca8f ensure that a newly opened searcher has a non null newIndexDir to work from
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236509 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 03:49:51 +00:00
Mark Robert Miller d2a21994e9 fix how we poll for the leader in this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236488 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 01:40:52 +00:00
Mark Robert Miller e679634db6 boost timeout on test for the really slow system
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236484 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 01:24:39 +00:00
Yonik Seeley 6279c500a2 tlog: nuke unwanted localization
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236480 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 01:12:36 +00:00
Mark Robert Miller 4d9a1d0862 set the name of the recovery thread
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236463 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 00:23:21 +00:00
Michael McCandless c56e845c68 DocTermOrds requires atomic reader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236443 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 23:20:10 +00:00
Mark Robert Miller 9469e0e0a7 ensure that we have shard leaders before the tests begin
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236441 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 23:05:21 +00:00
Yonik Seeley 9db16cd23b tests: try to track down the tlog-already-exists issue
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236410 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 22:09:08 +00:00
Mark Robert Miller b0ea2de37d boost this test poll timeout just a bit more
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236406 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 22:01:34 +00:00
Mark Robert Miller 0d578c8c8c add a bit of javadoc and be sure we don't register as active unless a recovery was *not* started
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236378 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 20:38:04 +00:00
Mark Robert Miller 790045ae03 add a check that ensures we see the number of shards that we would expect in the cluster state before the test starts and retry after a pause if we do not
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236366 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 19:46:42 +00:00
Mark Robert Miller 51c97efbe8 fix javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236354 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 19:20:07 +00:00
Mark Robert Miller 86dd14bab9 ignore test until i can figure out why a request times out on a live jetty instance regularly on jenkins
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236318 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 17:46:37 +00:00
Mark Robert Miller de94013750 try raising tests so timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236272 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 16:23:45 +00:00
Mark Robert Miller 2da5fdc636 clean up javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236271 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 16:17:23 +00:00
Mark Robert Miller 2caf23ebf0 boost this test timeout as well
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236261 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 16:08:52 +00:00
Mark Robert Miller 9415095fc7 also raise this test timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236254 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 15:54:10 +00:00
Mark Robert Miller 228a324062 raise timeout and try to un-ignore this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236250 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 15:45:49 +00:00
Mark Robert Miller 6c3b8b5b02 cleanup/fix logic around setting active state on startup
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236240 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 15:29:04 +00:00
Mark Robert Miller 19f8d0f623 if test fails, print zk layout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236037 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 03:58:52 +00:00
Mark Robert Miller 11396fff5b unignore this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236036 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 03:43:37 +00:00
Mark Robert Miller 7f31bb4974 try to avoid seeing stale state when deciding if we can kill or not by updating the state in the loop rather than just at the start
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236035 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 03:41:51 +00:00
Mark Robert Miller 8c0102e11a boost how long we poll for this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236034 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 03:36:45 +00:00
Mark Robert Miller 9072e892f2 print zk state if test is not succesful
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236024 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 02:22:31 +00:00
Mark Robert Miller c6d69c632f dont advertise sync state yet
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236009 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 00:55:45 +00:00
Mark Robert Miller 37b596b450 if the test fails, print out the zk state
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1235995 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 00:06:25 +00:00
Mark Robert Miller b87045f8f1 comment out debug sys out
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1235988 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 23:26:37 +00:00
Mark Robert Miller e4cc1d009c bump up wait fudge
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1235963 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 21:38:06 +00:00
Mark Robert Miller f81f7f60cd ignore these tests for a bit while i look into hardening them against hudson fails
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1235949 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 21:10:51 +00:00
Mark Robert Miller 9fed484fb1 SOLR-2358: merge in solrcloud branch (watch out hudson!)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1235888 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 19:49:26 +00:00
Yonik Seeley 1e79c3b98e LUCENE-3721: CharFilters were not being invoked in Solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1235810 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 16:21:33 +00:00
Jan Høydahl d0e4e731d9 SOLR-2280: commitWithin ignored for a delete query
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1235305 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 15:41:16 +00:00
Uwe Schindler 6b5ef1dead SOLR-3054, LUCENE-3671: Remove useless assureMatchVersion check
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1234579 13f79535-47bb-0310-9956-ffa450edef68
2012-01-22 18:57:24 +00:00
Uwe Schindler 366e1a2cd2 SOLR-3054, LUCENE-3671: Add TypeTokenFilterFactory that creates TypeTokenFilter that filters tokens based on their TypeAttribute
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1234573 13f79535-47bb-0310-9956-ffa450edef68
2012-01-22 18:50:10 +00:00
Steven Rowe f3a363708f LUCENE-3690: Re-implemented HTMLStripCharFilter as a JFlex-generated scanner. Fixes LUCENE-2208, SOLR-882, and SOLR-42.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1234452 13f79535-47bb-0310-9956-ffa450edef68
2012-01-22 05:20:46 +00:00
Jan Høydahl 374f6fc6c1 SOLR-2970: CSV ResponseWriter returns fields defined as stored=false in schema
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1232918 13f79535-47bb-0310-9956-ffa450edef68
2012-01-18 14:55:57 +00:00
Simon Willnauer e58eadc95b LUCENE-3697: fix solr testcase
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1232818 13f79535-47bb-0310-9956-ffa450edef68
2012-01-18 10:31:46 +00:00
Koji Sekiguchi 88dee37bb0 LUCENE-3698: forgot to modify test in solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1232491 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 17:15:36 +00:00
Yonik Seeley 3e4fc88708 SOLR-3037: missed test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1232458 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 16:18:07 +00:00
Robert Muir dea4b911da LUCENE-3646: throw exception for fieldcache on non-atomic reader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1232444 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 15:34:43 +00:00
Jan Høydahl 37e03cbfa5 SOLR-2105: Discontinue deprecated parameter "update.processor"
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1232363 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 09:41:33 +00:00
Erick Erickson 23bd21c968 Fixes for SOLR-3032. Removed all the conditional logging for exceptions, we'll rely on the top levels to log the errors appropriately.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1232192 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 22:07:13 +00:00
Simon Willnauer 98e59fceee LUCENE-3687: Allow similarity to encode norms other than a single byte
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1232014 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 14:57:15 +00:00
Michael McCandless 11f33ee521 LUCENE-3684: add offsets to postings APIs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1231794 13f79535-47bb-0310-9956-ffa450edef68
2012-01-15 23:17:45 +00:00
Michael McCandless 9de01b56eb LUCENE-3453: simplify DocValues/Field API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1231791 13f79535-47bb-0310-9956-ffa450edef68
2012-01-15 23:05:13 +00:00
Koji Sekiguchi 2125313a90 SOLR-2603: Encoding of alternate fields in highlighting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1231665 13f79535-47bb-0310-9956-ffa450edef68
2012-01-15 13:50:55 +00:00
Yonik Seeley 2911bce99b fix thread safety
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1231606 13f79535-47bb-0310-9956-ffa450edef68
2012-01-15 01:30:35 +00:00
Yonik Seeley 2504985445 SOLR-3036: Ability to specify overwrite=false on the URL for XML updates.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1231514 13f79535-47bb-0310-9956-ffa450edef68
2012-01-14 15:21:42 +00:00
Erick Erickson 2492bd2790 Fixing up where I messed up on previous checkin for SOLR-2906
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1230790 13f79535-47bb-0310-9956-ffa450edef68
2012-01-12 21:18:50 +00:00
Erick Erickson ec071905fb Fixes for SOLR-2906. Many thanks to Shawn Heisey
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1230745 13f79535-47bb-0310-9956-ffa450edef68
2012-01-12 20:07:03 +00:00
Erick Erickson 7de1e259f1 Fix for SOLR-2987 (numeric keys in external file field stopped processing the rest of the file)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1229783 13f79535-47bb-0310-9956-ffa450edef68
2012-01-10 22:51:17 +00:00
Koji Sekiguchi 6a085c2fa9 SOLR-3012: Move System.getProperty(type) in postData() to main()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1229602 13f79535-47bb-0310-9956-ffa450edef68
2012-01-10 15:35:31 +00:00
Michael McCandless cdb2ee8a7b LUCENE-3679: replace IR.getFieldNames with IR.getFieldInfos
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1229401 13f79535-47bb-0310-9956-ffa450edef68
2012-01-09 22:29:40 +00:00
Michael McCandless ed9f0fd5ef LUCENE-3668: if there's only 1 output for a synonym rule then set start/endOffset to match the full span of the input tokens
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1228650 13f79535-47bb-0310-9956-ffa450edef68
2012-01-07 16:26:15 +00:00
Erick Erickson c0959adbfc SOLR-1931, speeding up the LukeRequestHandler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1227924 13f79535-47bb-0310-9956-ffa450edef68
2012-01-06 01:25:12 +00:00
Yonik Seeley 3fbe085a11 LUCENE-3667: re-enable replication test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1227201 13f79535-47bb-0310-9956-ffa450edef68
2012-01-04 16:00:27 +00:00
Yonik Seeley 29fc70c15d tests: fix prepareCommit test - optimize to ensure a single segment
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1226198 13f79535-47bb-0310-9956-ffa450edef68
2011-12-31 22:33:47 +00:00
Yonik Seeley 52a47d09ba SOLR-2992: Add support for IndexWriter.prepareCommit()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1225954 13f79535-47bb-0310-9956-ffa450edef68
2011-12-30 22:41:50 +00:00
Robert Muir f5d1e967db LUCENE-3667: make tests reasonable if you dont have a supercomputer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1225920 13f79535-47bb-0310-9956-ffa450edef68
2011-12-30 21:14:15 +00:00
Robert Muir b2970db4bc LUCENE-2906: filter to process output of Standard/ICUTokenizer and create overlapping bigrams for CJK
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1225433 13f79535-47bb-0310-9956-ffa450edef68
2011-12-29 05:04:49 +00:00
Robert Muir f3869ef3ce SOLR-2982: add Beider-Morse phonetic filter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1225211 13f79535-47bb-0310-9956-ffa450edef68
2011-12-28 16:00:52 +00:00
Grant Ingersoll 6a6d33257e SOLR-2977: add 'fake' excludes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1222234 13f79535-47bb-0310-9956-ffa450edef68
2011-12-22 13:59:11 +00:00
Yonik Seeley b323c54f6a SOLR-2950: QEC comparator bug fixes, including deleted docs handling
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1221826 13f79535-47bb-0310-9956-ffa450edef68
2011-12-21 18:05:52 +00:00
Grant Ingersoll f42b2ffd63 SOLR-2950: Improve QEC performance by dropping field cache use and keeping a local smaller map
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1220983 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 22:39:01 +00:00
Erick Erickson 1ff2096aef Fixes for SOLR-2971, valType now optional for
ExternalFileFields and, if present, types float, pfloat, tfloat 
all accepable.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1215503 13f79535-47bb-0310-9956-ffa450edef68
2011-12-17 14:53:36 +00:00
Grant Ingersoll 39f7791817 SOLR-1520: support trie types, fix issues with failing tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1215352 13f79535-47bb-0310-9956-ffa450edef68
2011-12-16 23:51:12 +00:00
Robert Muir a55f511a77 LUCENE-3650: move o.a.l.index.codecs to o.a.l.codecs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1215245 13f79535-47bb-0310-9956-ffa450edef68
2011-12-16 19:03:12 +00:00
Chris M. Hostetter b3d2c99128 SOLR-2972: Fix JoinQParser so it doesn't force the 'lucene' parser to be used for the sub query
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1215001 13f79535-47bb-0310-9956-ffa450edef68
2011-12-16 00:25:13 +00:00
Chris M. Hostetter 4d75ef3d42 SOLR-1520: revert r1214937 as it breaks several tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1214997 13f79535-47bb-0310-9956-ffa450edef68
2011-12-16 00:01:38 +00:00
Grant Ingersoll fde5bdc871 SOLR-1520: support trie types
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1214937 13f79535-47bb-0310-9956-ffa450edef68
2011-12-15 19:55:51 +00:00
Chris M. Hostetter 03762c4be5 SOLR-2956: Fixed inconsistencies in the flags (and flag key) reported by the LukeRequestHandler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1214540 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 23:21:56 +00:00
Steven Rowe 60929a5adb LUCENE-3645: Remove unnecessary array wrapping when calling varargs methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1214413 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 19:15:47 +00:00
Robert Muir 8d7749ea4f LUCENE-3622: separate IndexDocValues interface from implementation (phase 1)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1213844 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 18:39:06 +00:00
Robert Muir eb173852ba LUCENE-3622: merge trunk (1213324:1213812)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3622@1213825 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 18:23:22 +00:00
Grant Ingersoll 7efb166240 SOLR-1520: added tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1213824 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 18:22:39 +00:00
Grant Ingersoll d66ae61193 SOLR-1730: fix logging in exception
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1213706 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 14:21:41 +00:00
Grant Ingersoll 7c0069cbb7 SOLR-1730: check the cause exception
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1213704 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 14:21:30 +00:00
Chris M. Hostetter 4da73b1f9e SOLR-2920: Refactor frequent conditional use of DefaultSolrParams and AppendedSolrParams into factory methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1213474 13f79535-47bb-0310-9956-ffa450edef68
2011-12-12 22:31:51 +00:00
Robert Muir 701000cf27 LUCENE-3622: function DocValues -> FunctionValues
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3622@1213426 13f79535-47bb-0310-9956-ffa450edef68
2011-12-12 20:33:26 +00:00
Robert Muir 3899e18ca3 LUCENE-3640: Remove IndexSearcher.close
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1213117 13f79535-47bb-0310-9956-ffa450edef68
2011-12-12 00:21:40 +00:00
Uwe Schindler 764059147f LUCENE-3633: Remove code duplication in MultiReader and DirectoryReader; make everything finally final :-)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1212844 13f79535-47bb-0310-9956-ffa450edef68
2011-12-10 19:00:13 +00:00
Martijn van Groningen 8a4104be28 SOLR-2955: Fixed IllegalStateException when querying with group.sort=score desc in sharded environment.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1212420 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 13:49:03 +00:00
Uwe Schindler a363e9b564 LUCENE-3606: Merge up to trunk r1212007
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3606@1212008 13f79535-47bb-0310-9956-ffa450edef68
2011-12-08 18:01:13 +00:00
Grant Ingersoll 97b40049d0 SOLR-1730: Hook in handling of bad cores, failure of QEC to load, add in test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1211827 13f79535-47bb-0310-9956-ffa450edef68
2011-12-08 11:09:47 +00:00
Uwe Schindler 13294b07cc Merge to trunk r1211584
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3606@1211591 13f79535-47bb-0310-9956-ffa450edef68
2011-12-07 18:49:18 +00:00
Erick Erickson b89ded1448 Fix for SOLR-2509 (IndexOutOfBoundsException in Spellcheck Component/Collation)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1211456 13f79535-47bb-0310-9956-ffa450edef68
2011-12-07 14:42:16 +00:00
Robert Muir af5cd523d4 LUCENE-3606: merge trunk to r1211182
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3606@1211200 13f79535-47bb-0310-9956-ffa450edef68
2011-12-06 22:04:55 +00:00
Robert Muir caedbf9ef9 LUCENE-3606: clear up some nocommits
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3606@1211005 13f79535-47bb-0310-9956-ffa450edef68
2011-12-06 16:36:41 +00:00
Chris M. Hostetter 3fc07698f3 SOLR-2935: Better docs for numeric FieldTypes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1210714 13f79535-47bb-0310-9956-ffa450edef68
2011-12-05 23:49:57 +00:00
Uwe Schindler 559205883f LUCENE-3606: Clean up IR.open(...) methods to no longer accept readOnly and IndexDeletionPolicy: Core, Contrib, Solr (Modules need fixing, benchmark was broken before, too)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3606@1210305 13f79535-47bb-0310-9956-ffa450edef68
2011-12-05 01:41:38 +00:00
Michael McCandless 961b820e53 LUCENE-2929: specify up front if you need freqs from DocsEnum
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1210176 13f79535-47bb-0310-9956-ffa450edef68
2011-12-04 18:50:58 +00:00
Yonik Seeley ab1b26f162 update noggit to r1209632
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1209714 13f79535-47bb-0310-9956-ffa450edef68
2011-12-02 21:53:23 +00:00
Dawid Weiss 92de7e8848 SOLR-2888: FSTSuggester refactoring: internal storage is now UTF-8,
external sorting (on disk) prevents OOMs even with large data sets
(the bottleneck is now FST construction), code cleanups and API cleanups.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1209265 13f79535-47bb-0310-9956-ffa450edef68
2011-12-01 21:49:27 +00:00
Uwe Schindler 21989c90c2 Commit LUCENE-3598 to not corrumpt Robert's work on Default*: Improve InfoStream class in trunk to be more consistent with logging-frameworks like slf4j/log4j/commons-logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1209059 13f79535-47bb-0310-9956-ffa450edef68
2011-12-01 12:52:20 +00:00
Robert Muir 21b7c5bbee LUCENE-3584: make bulk postings codec private
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1208283 13f79535-47bb-0310-9956-ffa450edef68
2011-11-30 05:19:35 +00:00
Chris M. Hostetter 2337f4687f LUCENE-3599: Fix DistanceUtils.haversine() javadocs -- were incorrectly stating the expected order of the arguments
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1208118 13f79535-47bb-0310-9956-ffa450edef68
2011-11-29 22:38:08 +00:00
Chris M. Hostetter afc71a72a6 SOLR-2861: remove inadvertant & unneeded import statement from SolrCore, and revert r1197205 that enabled maven to compile with this mistake
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1208022 13f79535-47bb-0310-9956-ffa450edef68
2011-11-29 18:44:03 +00:00
Simon Willnauer 9a513f82dc LUCENE-3592: Make BytesRef#startsWith & BytesRef#endsWith static
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1207564 13f79535-47bb-0310-9956-ffa450edef68
2011-11-28 20:15:17 +00:00
Robert Muir 4dd6b5fbed SOLR-2919: Localized rangequery support for icu/jdk collation filters, parametric tailoring for icu collators
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1207070 13f79535-47bb-0310-9956-ffa450edef68
2011-11-28 11:03:24 +00:00
Erick Erickson c94c1c5a64 git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206767 13f79535-47bb-0310-9956-ffa450edef68 2011-11-27 17:04:38 +00:00
Erick Erickson 098371446a SOLR-2438, allow an analysis chain to be created for multiterm query terms or synthesize one if not defined explicitly
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206229 13f79535-47bb-0310-9956-ffa450edef68
2011-11-25 15:46:26 +00:00
Robert Muir 7f766cf603 LUCENE-3590: nuke BytesRef.utf8ToChars
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206174 13f79535-47bb-0310-9956-ffa450edef68
2011-11-25 13:55:41 +00:00
Robert Muir 3b6da22aa7 LUCENE-3590: clearly mark bogus deep-copying apis in BytesRef
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206143 13f79535-47bb-0310-9956-ffa450edef68
2011-11-25 12:50:13 +00:00
Shalin Shekhar Mangar 44fc56dc92 SOLR-2912 -- Fixed File descriptor leak in ShowFileRequestHandler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1205774 13f79535-47bb-0310-9956-ffa450edef68
2011-11-24 10:11:06 +00:00
Shalin Shekhar Mangar 20a43ad9dc SOLR-2904 -- BinaryUpdateRequestHandler should be able to accept multiple update requests from a stream
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1204453 13f79535-47bb-0310-9956-ffa450edef68
2011-11-21 11:32:53 +00:00
Christopher John Male f55c72f928 SOLR-1123: Changed JSONResponseWriter content-type to be application/json by default
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1204327 13f79535-47bb-0310-9956-ffa450edef68
2011-11-21 02:50:39 +00:00
Grant Ingersoll 00f5fef162 SOLR-2037: hook in DocTransformer for QueryElevationComponent to mark documents that have been boosted
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1203839 13f79535-47bb-0310-9956-ffa450edef68
2011-11-18 21:07:13 +00:00
Michael McCandless 5267d23d46 LUCENE-3577: rename IW.expungeDeletes -> IW.forceMergeDeletes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1203756 13f79535-47bb-0310-9956-ffa450edef68
2011-11-18 17:27:04 +00:00
Michael McCandless 9e27723b37 LUCENE-3562: stop caching thread-private TermsEnums in Terms
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1203294 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 17:35:42 +00:00
Chris M. Hostetter 2a94133a2c SOLR-2578: ReplicationHandler's backup command now supports a 'numberToKeep' param that can be used to delete all but the most recent N backups.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1202969 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 01:33:21 +00:00
Robert Muir 873f199924 LUCENE-2621: move TermVectors,FieldInfos,SegmentInfos to codec
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1202842 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 19:09:35 +00:00
Robert Muir 598920d7bd LUCENE-3571: nuke IndexSearcher(Directory)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1202657 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 12:19:41 +00:00