1276 Commits

Author SHA1 Message Date
Uwe Schindler
d0ab5f6174 SOLR-2631: PingRequestHandler should not allow to ping itsself using "qt" param to prevent infinite loop
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1142179 13f79535-47bb-0310-9956-ffa450edef68
2011-07-02 08:59:58 +00:00
Uwe Schindler
592b402ab5 SOLR-2630: Added new XsltUpdateRequestHandler that works like XmlUpdateRequestHandler but allows to transform the POSTed XML document using XSLT
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1141999 13f79535-47bb-0310-9956-ffa450edef68
2011-07-01 17:31:04 +00:00
Christopher John Male
9f0c8252f3 LUCENE-2883: Changes updates
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1141749 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 23:30:18 +00:00
Mark Robert Miller
b5be90974b SOLR-2193, SOLR-2565: The default Solr update handler has been improved so
that it uses fewer locks, keeps the IndexWriter open rather than closing it
  on each commit (ie commits no longer wait for background merges to complete), 
  works with SolrCore to provide faster 'soft' commits, and has an improved API 
  that requires less instanceof special casing. 

  You may now specify a 'soft' commit when committing. This will
  use Lucene's NRT feature to avoid guaranteeing documents are on stable storage in exchange
  for faster reopen times. There is also a new 'soft' autocommit tracker that can be
  configured.

 SolrCores now properly share IndexWriters across SolrCore reloads.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1141542 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 13:59:59 +00:00
Simon Willnauer
b843dfe839 LUCENE-3239: Drop Java 5 support on trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1141501 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 12:14:36 +00:00
Simon Willnauer
5ce2c2844a LUCENE-3239: Drop Java 5 support on trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1141489 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 11:40:55 +00:00
Simon Willnauer
966a298278 Update CHANGES.TXT for SOLR-2625
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1141406 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 05:36:02 +00:00
Simon Willnauer
9debf4f381 cleaned up some if statements and added a test that selects TV options at random
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1141400 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 05:09:04 +00:00
Christopher John Male
2266c70ce4 LUCENE-3256: Consolidated CustomScoreQuery and BoostedQuery into Queries module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1141366 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 02:31:22 +00:00
Christopher John Male
a993ae9032 LUCENE-3249: Moved FunctionQuery impls to new Queries module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1140906 13f79535-47bb-0310-9956-ffa450edef68
2011-06-28 23:32:27 +00:00
Yonik Seeley
e5addc06d3 SOLR-2626, LUCENE-2831: fix offset bug in cutover to AtomicReaderContext
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1140859 13f79535-47bb-0310-9956-ffa450edef68
2011-06-28 21:39:01 +00:00
Yonik Seeley
abdb8e0e2f SOLR-2429: don't need to check deletions when iterating over filter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1140786 13f79535-47bb-0310-9956-ffa450edef68
2011-06-28 18:53:39 +00:00
Christopher John Male
b3f0ae9b7a LUCENE-3240: Moved FunctionQuery, ValueSource and DocValues to new queries module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1140379 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 23:45:18 +00:00
Yonik Seeley
e219ad401c SOLR-2429: ability not not cache filters and post filtering
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1140252 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 17:52:02 +00:00
Koji Sekiguchi
9d6f451871 LUCENE-3234: add phraseLimit parameter for FVH speed up
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1139995 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 01:44:43 +00:00
Michael McCandless
cf0e5ec467 LUCENE-3225: add TermsEnum.seekExact(BytesRef); renamne existing methods to seekCeil/seekExact
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1139788 13f79535-47bb-0310-9956-ffa450edef68
2011-06-26 13:33:58 +00:00
Jan Høydahl
b7c5e42675 SOLR-2458: post.jar fails on non-XML updateHandlers
Fixed by doing the COMMIT through HTTP GET instead of posting XML "<commit/>"
Other improvements:
* Get help with -h and -help in addition to --help
* Support -Doptimize=yes
* More explicit error handling

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1139759 13f79535-47bb-0310-9956-ffa450edef68
2011-06-26 10:56:04 +00:00
Christopher John Male
e3c74ec78b LUCENE-3232: New common module jar import correction
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1139490 13f79535-47bb-0310-9956-ffa450edef68
2011-06-25 04:21:03 +00:00
Christopher John Male
e846f760f8 LUCENE-3232: Bad dependency to common module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1139479 13f79535-47bb-0310-9956-ffa450edef68
2011-06-25 02:07:26 +00:00
Christopher John Male
9bf4c3fd8f LUCENE-3232: Moved MutableValues to common module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1139467 13f79535-47bb-0310-9956-ffa450edef68
2011-06-25 00:03:35 +00:00
Mark Robert Miller
a23091d9df SOLR-2610: improve changes entry on CloseHook change
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1139285 13f79535-47bb-0310-9956-ffa450edef68
2011-06-24 12:59:58 +00:00
Robert Muir
4159d786ec don't rely upon correct executable permissions for post.sh
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1139173 13f79535-47bb-0310-9956-ffa450edef68
2011-06-24 07:20:41 +00:00
Mark Robert Miller
40fbeddc3b tweak changes entry SOLR-2610
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1138890 13f79535-47bb-0310-9956-ffa450edef68
2011-06-23 14:13:40 +00:00
Robert Muir
f189febe29 be specific about dependent versions for ant/junit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1138821 13f79535-47bb-0310-9956-ffa450edef68
2011-06-23 10:50:21 +00:00
Yonik Seeley
a7a7108ec8 SOLR-2564: add pollLast to deal with performance regression due to Java5/Java6 difference between modules and Solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1138735 13f79535-47bb-0310-9956-ffa450edef68
2011-06-23 05:05:54 +00:00
Yonik Seeley
0333b8caf0 fix tf + termfreq functions when no terms in field
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1138732 13f79535-47bb-0310-9956-ffa450edef68
2011-06-23 04:00:40 +00:00
Shalin Shekhar Mangar
77e3dfc016 SOLR-2610 -- Add an option to delete index through CoreAdmin UNLOAD action
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1138405 13f79535-47bb-0310-9956-ffa450edef68
2011-06-22 11:18:43 +00:00
Robert Muir
cdf12071bf merge missing 3.2 section
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1138395 13f79535-47bb-0310-9956-ffa450edef68
2011-06-22 10:49:19 +00:00
Noble Paul
3df588d55d SOLR-1431 CommComponent abstracted
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1138383 13f79535-47bb-0310-9956-ffa450edef68
2011-06-22 10:25:40 +00:00
Robert Muir
4ce9d15bb4 bump 3.3-dev to 3.4-dev
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1138357 13f79535-47bb-0310-9956-ffa450edef68
2011-06-22 09:31:18 +00:00
Ryan McKinley
8ce0a65494 SOLR-2399: Adding min-width
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1138328 13f79535-47bb-0310-9956-ffa450edef68
2011-06-22 07:54:19 +00:00
Ryan McKinley
1a232aeb29 SOLR-2399: UI cleanup
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1138323 13f79535-47bb-0310-9956-ffa450edef68
2011-06-22 07:24:53 +00:00
Shalin Shekhar Mangar
32e456ebbf SOLR-2612 -- Add testpackage and testpackageroot conditions to clustering and analysis-extras build files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1138319 13f79535-47bb-0310-9956-ffa450edef68
2011-06-22 06:58:57 +00:00
Christopher John Male
f9ed2c19cd LUCENE-3219: Moved SortField types to Enum
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1138276 13f79535-47bb-0310-9956-ffa450edef68
2011-06-22 01:48:45 +00:00
Michael McCandless
c039e210b0 LUCENE-2548: don't intern field names
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1138058 13f79535-47bb-0310-9956-ffa450edef68
2011-06-21 15:42:54 +00:00
Jan Høydahl
9d469e5111 SOLR-2489: Remove old lucene.apache.org/solr/who page
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1138049 13f79535-47bb-0310-9956-ffa450edef68
2011-06-21 15:30:37 +00:00
Jan Høydahl
af9323950d SOLR-2598: exampledocs/books.json should use name instead of title
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1138017 13f79535-47bb-0310-9956-ffa450edef68
2011-06-21 14:27:40 +00:00
Robert Muir
5aa0bde27b SOLR-2611: Fix typos in the example configuration
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1137665 13f79535-47bb-0310-9956-ffa450edef68
2011-06-20 15:31:06 +00:00
Christopher John Male
acc3392ae4 SOLR-2533: Added weighting to Sort and SortField
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1137612 13f79535-47bb-0310-9956-ffa450edef68
2011-06-20 12:49:15 +00:00
Shalin Shekhar Mangar
532f443146 SOLR-1331 -- Added a srcCore parameter to CoreAdminHandler's mergeindexes action to merge one or more cores' indexes to a target core
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1137533 13f79535-47bb-0310-9956-ffa450edef68
2011-06-20 07:32:12 +00:00
Robert Muir
df18530cbd sync CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1137359 13f79535-47bb-0310-9956-ffa450edef68
2011-06-19 12:27:22 +00:00
Erick Erickson
4f711ca57a Solr-2598 (Commenting out the <arr name="queries"> section in firstSearcher generates an NPE)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1137092 13f79535-47bb-0310-9956-ffa450edef68
2011-06-18 00:10:21 +00:00
Martijn van Groningen
d805da14c2 SOLR-2564: Integrating grouping module into Solr 4.0
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1137037 13f79535-47bb-0310-9956-ffa450edef68
2011-06-17 21:25:59 +00:00
Uwe Schindler
4e46774b9b Make sure, Jenkins/Hudson can compile Solr Contrib classes+tests with Java 5, without running tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1136792 13f79535-47bb-0310-9956-ffa450edef68
2011-06-17 07:28:37 +00:00
Shalin Shekhar Mangar
1e3aa5cee4 SOLR-2551 -- Use File.delete instead of File.setWritable to be Java 5 compatible
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1136789 13f79535-47bb-0310-9956-ffa450edef68
2011-06-17 07:05:29 +00:00
Uwe Schindler
edac2e90d2 LUCENE-3208: Renamed protected IndexSearcher.createWeight() to expert public method IndexSearcher.createNormalizedWeight() as this better describes what this method does. The old method is still there for backwards compatibility. Query.weight() was deprecated and simply delegates to IndexSearcher
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1136568 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 17:55:04 +00:00
Yonik Seeley
4c5c3c86e2 weight value sources for pseudo-fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1136526 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 16:20:43 +00:00
Michael McCandless
a1e74fd6c9 LUCENE-3191: add TopDocs.merge, TopGroups.merge, SearchGroup.merge, to make sharding easier
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1136080 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 15:12:48 +00:00
Koji Sekiguchi
3d8fc3de5d fix luceneMatchVersion in uima test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1136027 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 13:20:09 +00:00
Shalin Shekhar Mangar
6aaaf9ca94 SOLR-2551 -- Check dataimport.properties for write access (if delta-import is supported in DIH configuration) before starting an import
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1135954 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 08:24:04 +00:00