bigindex-solr 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +0 -0
- data/MIT-LICENSE +0 -0
- data/README.rdoc +10 -2
- data/Rakefile +0 -0
- data/VERSION +1 -1
- data/bigindex-solr.gemspec +5 -44
- data/examples/bigindex.yml +0 -0
- data/install.rb +0 -0
- data/lib/bigindex-solr.rb +0 -0
- data/lib/bigindex-solr/tasks.rb +0 -0
- data/lib/tasks/bigindex_solr.rake +5 -3
- data/schema.xml +0 -0
- data/solr/CHANGES.txt +648 -3
- data/solr/LICENSE.txt +153 -49
- data/solr/NOTICE.txt +45 -12
- data/solr/etc/jetty.xml +11 -5
- data/solr/etc/webdefault.xml +0 -0
- data/solr/lib/jetty-6.1.3.jar +0 -0
- data/solr/lib/jetty-util-6.1.3.jar +0 -0
- data/solr/lib/jsp-2.1/ant-1.6.5.jar +0 -0
- data/solr/lib/jsp-2.1/core-3.1.1.jar +0 -0
- data/solr/lib/jsp-2.1/jsp-2.1.jar +0 -0
- data/solr/lib/jsp-2.1/jsp-api-2.1.jar +0 -0
- data/solr/lib/servlet-api-2.5-6.1.3.jar +0 -0
- data/solr/solr/README.txt +0 -0
- data/solr/solr/bin/abc +20 -6
- data/solr/solr/bin/abo +20 -6
- data/solr/solr/bin/backup +11 -2
- data/solr/solr/bin/backupcleaner +1 -1
- data/solr/solr/bin/commit +10 -5
- data/solr/solr/bin/optimize +10 -5
- data/solr/solr/bin/readercycle +1 -1
- data/solr/solr/bin/rsyncd-disable +1 -1
- data/solr/solr/bin/rsyncd-enable +1 -1
- data/solr/solr/bin/rsyncd-start +1 -1
- data/solr/solr/bin/scripts-util +18 -2
- data/solr/solr/bin/snapcleaner +8 -2
- data/solr/solr/bin/snapinstaller +15 -4
- data/solr/solr/bin/snappuller +26 -5
- data/solr/solr/bin/snappuller-disable +1 -1
- data/solr/solr/bin/snappuller-enable +1 -1
- data/solr/solr/bin/snapshooter +30 -3
- data/solr/solr/conf/admin-extra.html +0 -0
- data/solr/solr/conf/elevate.xml +36 -0
- data/solr/solr/conf/protwords.txt +0 -0
- data/solr/solr/conf/schema.xml +0 -0
- data/solr/solr/conf/scripts.conf +0 -0
- data/solr/solr/conf/solrconfig.xml +321 -83
- data/solr/solr/conf/spellings.txt +2 -0
- data/solr/solr/conf/stopwords.txt +0 -0
- data/solr/solr/conf/synonyms.txt +0 -0
- data/solr/solr/conf/xslt/example.xsl +0 -0
- data/solr/solr/conf/xslt/example_atom.xsl +5 -1
- data/solr/solr/conf/xslt/example_rss.xsl +5 -1
- data/solr/solr/conf/xslt/luke.xsl +337 -0
- data/solr/start.jar +0 -0
- data/solr/webapps/solr.war +0 -0
- data/spec/bigindex-solr_spec.rb +0 -3
- data/spec/spec_helper.rb +0 -0
- metadata +4 -43
- data/.document +0 -5
- data/solr/lib/commons-codec-1.3.jar +0 -0
- data/solr/lib/commons-csv-0.1-SNAPSHOT.jar +0 -0
- data/solr/lib/commons-fileupload-1.2.jar +0 -0
- data/solr/lib/commons-io-1.2.jar +0 -0
- data/solr/lib/easymock.jar +0 -0
- data/solr/lib/lucene-analyzers-2007-05-20_00-04-53.jar +0 -0
- data/solr/lib/lucene-core-2007-05-20_00-04-53.jar +0 -0
- data/solr/lib/lucene-highlighter-2007-05-20_00-04-53.jar +0 -0
- data/solr/lib/lucene-snowball-2007-05-20_00-04-53.jar +0 -0
- data/solr/lib/lucene-spellchecker-2007-05-20_00-04-53.jar +0 -0
- data/solr/lib/servlet-api-2.4.jar +0 -0
- data/solr/lib/xpp3-1.1.3.4.O.jar +0 -0
- data/solr/solr/data/development/index/_a.fdt +0 -0
- data/solr/solr/data/development/index/_a.fdx +0 -0
- data/solr/solr/data/development/index/_a.fnm +0 -2
- data/solr/solr/data/development/index/_a.frq +0 -1
- data/solr/solr/data/development/index/_a.nrm +0 -1
- data/solr/solr/data/development/index/_a.prx +0 -0
- data/solr/solr/data/development/index/_a.tii +0 -0
- data/solr/solr/data/development/index/_a.tis +0 -0
- data/solr/solr/data/development/index/_a_1.del +0 -0
- data/solr/solr/data/development/index/_b.fdt +0 -0
- data/solr/solr/data/development/index/_b.fdx +0 -0
- data/solr/solr/data/development/index/_b.fnm +0 -2
- data/solr/solr/data/development/index/_b.frq +0 -0
- data/solr/solr/data/development/index/_b.nrm +0 -1
- data/solr/solr/data/development/index/_b.prx +0 -0
- data/solr/solr/data/development/index/_b.tii +0 -0
- data/solr/solr/data/development/index/_b.tis +0 -0
- data/solr/solr/data/development/index/_b_1.del +0 -0
- data/solr/solr/data/development/index/_c.fdt +0 -0
- data/solr/solr/data/development/index/_c.fdx +0 -0
- data/solr/solr/data/development/index/_c.fnm +0 -2
- data/solr/solr/data/development/index/_c.frq +0 -1
- data/solr/solr/data/development/index/_c.nrm +0 -1
- data/solr/solr/data/development/index/_c.prx +0 -0
- data/solr/solr/data/development/index/_c.tii +0 -0
- data/solr/solr/data/development/index/_c.tis +0 -0
- data/solr/solr/data/development/index/_c_1.del +0 -0
- data/solr/solr/data/development/index/segments.gen +0 -0
- data/solr/solr/data/development/index/segments_q +0 -0
data/.gitignore
CHANGED
File without changes
|
data/MIT-LICENSE
CHANGED
File without changes
|
data/README.rdoc
CHANGED
@@ -8,7 +8,7 @@ The version of this project corresponds to the version of Solr that's packaged a
|
|
8
8
|
|
9
9
|
== Requirements
|
10
10
|
|
11
|
-
*
|
11
|
+
* Java 1.6+ (It also requires that the command line tool "java" be accessible from the account you're trying to run this from)
|
12
12
|
* Although it's not required to get this gem working, Bigindex should be installed and working with your Rails application in order to actually interface with Solr. You could of course install this package standalone if all you wanted was Solr.
|
13
13
|
|
14
14
|
== Usage
|
@@ -31,6 +31,10 @@ The version of this project corresponds to the version of Solr that's packaged a
|
|
31
31
|
|
32
32
|
rake bigindex:solr:start
|
33
33
|
|
34
|
+
Optional: You can also define the 'java' binary to start up Solr with by sending it a JAVA_BIN argument:
|
35
|
+
|
36
|
+
rake bigindex:solr:start JAVA_BIN=/path/to/other/java
|
37
|
+
|
34
38
|
(6) Stop your Solr server when you're done
|
35
39
|
|
36
40
|
rake bigindex:solr:stop
|
@@ -52,8 +56,12 @@ It's possible to define what JVM options to start up Solr with. Just edit the RA
|
|
52
56
|
solr_url: http://localhost:8981/solr
|
53
57
|
jvm_options: -Xms64m -Xmx512m
|
54
58
|
|
59
|
+
== Solr schema
|
60
|
+
|
61
|
+
Bigindex has a defined schema to use with Solr. If you need to set up Solr yourself, you'll need to either use the schema.xml defined in this project, or create a merged version of it with your own.
|
62
|
+
|
55
63
|
== Note on Patches/Pull Requests
|
56
|
-
|
64
|
+
|
57
65
|
* Fork the project.
|
58
66
|
* Make your feature addition or bug fix.
|
59
67
|
* Add tests for it. This is important so I don't break it in a future version unintentionally.
|
data/Rakefile
CHANGED
File without changes
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.3.0
|
data/bigindex-solr.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{bigindex-solr}
|
8
|
-
s.version = "1.
|
8
|
+
s.version = "1.3.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["openplaces.org"]
|
@@ -16,8 +16,7 @@ Gem::Specification.new do |s|
|
|
16
16
|
"README.rdoc"
|
17
17
|
]
|
18
18
|
s.files = [
|
19
|
-
".
|
20
|
-
".gitignore",
|
19
|
+
".gitignore",
|
21
20
|
"MIT-LICENSE",
|
22
21
|
"README.rdoc",
|
23
22
|
"Rakefile",
|
@@ -34,25 +33,13 @@ Gem::Specification.new do |s|
|
|
34
33
|
"solr/NOTICE.txt",
|
35
34
|
"solr/etc/jetty.xml",
|
36
35
|
"solr/etc/webdefault.xml",
|
37
|
-
"solr/lib/commons-codec-1.3.jar",
|
38
|
-
"solr/lib/commons-csv-0.1-SNAPSHOT.jar",
|
39
|
-
"solr/lib/commons-fileupload-1.2.jar",
|
40
|
-
"solr/lib/commons-io-1.2.jar",
|
41
|
-
"solr/lib/easymock.jar",
|
42
36
|
"solr/lib/jetty-6.1.3.jar",
|
43
37
|
"solr/lib/jetty-util-6.1.3.jar",
|
44
38
|
"solr/lib/jsp-2.1/ant-1.6.5.jar",
|
45
39
|
"solr/lib/jsp-2.1/core-3.1.1.jar",
|
46
40
|
"solr/lib/jsp-2.1/jsp-2.1.jar",
|
47
41
|
"solr/lib/jsp-2.1/jsp-api-2.1.jar",
|
48
|
-
"solr/lib/lucene-analyzers-2007-05-20_00-04-53.jar",
|
49
|
-
"solr/lib/lucene-core-2007-05-20_00-04-53.jar",
|
50
|
-
"solr/lib/lucene-highlighter-2007-05-20_00-04-53.jar",
|
51
|
-
"solr/lib/lucene-snowball-2007-05-20_00-04-53.jar",
|
52
|
-
"solr/lib/lucene-spellchecker-2007-05-20_00-04-53.jar",
|
53
|
-
"solr/lib/servlet-api-2.4.jar",
|
54
42
|
"solr/lib/servlet-api-2.5-6.1.3.jar",
|
55
|
-
"solr/lib/xpp3-1.1.3.4.O.jar",
|
56
43
|
"solr/solr/README.txt",
|
57
44
|
"solr/solr/bin/abc",
|
58
45
|
"solr/solr/bin/abo",
|
@@ -73,44 +60,18 @@ Gem::Specification.new do |s|
|
|
73
60
|
"solr/solr/bin/snappuller-enable",
|
74
61
|
"solr/solr/bin/snapshooter",
|
75
62
|
"solr/solr/conf/admin-extra.html",
|
63
|
+
"solr/solr/conf/elevate.xml",
|
76
64
|
"solr/solr/conf/protwords.txt",
|
77
65
|
"solr/solr/conf/schema.xml",
|
78
66
|
"solr/solr/conf/scripts.conf",
|
79
67
|
"solr/solr/conf/solrconfig.xml",
|
68
|
+
"solr/solr/conf/spellings.txt",
|
80
69
|
"solr/solr/conf/stopwords.txt",
|
81
70
|
"solr/solr/conf/synonyms.txt",
|
82
71
|
"solr/solr/conf/xslt/example.xsl",
|
83
72
|
"solr/solr/conf/xslt/example_atom.xsl",
|
84
73
|
"solr/solr/conf/xslt/example_rss.xsl",
|
85
|
-
"solr/solr/
|
86
|
-
"solr/solr/data/development/index/_a.fdx",
|
87
|
-
"solr/solr/data/development/index/_a.fnm",
|
88
|
-
"solr/solr/data/development/index/_a.frq",
|
89
|
-
"solr/solr/data/development/index/_a.nrm",
|
90
|
-
"solr/solr/data/development/index/_a.prx",
|
91
|
-
"solr/solr/data/development/index/_a.tii",
|
92
|
-
"solr/solr/data/development/index/_a.tis",
|
93
|
-
"solr/solr/data/development/index/_a_1.del",
|
94
|
-
"solr/solr/data/development/index/_b.fdt",
|
95
|
-
"solr/solr/data/development/index/_b.fdx",
|
96
|
-
"solr/solr/data/development/index/_b.fnm",
|
97
|
-
"solr/solr/data/development/index/_b.frq",
|
98
|
-
"solr/solr/data/development/index/_b.nrm",
|
99
|
-
"solr/solr/data/development/index/_b.prx",
|
100
|
-
"solr/solr/data/development/index/_b.tii",
|
101
|
-
"solr/solr/data/development/index/_b.tis",
|
102
|
-
"solr/solr/data/development/index/_b_1.del",
|
103
|
-
"solr/solr/data/development/index/_c.fdt",
|
104
|
-
"solr/solr/data/development/index/_c.fdx",
|
105
|
-
"solr/solr/data/development/index/_c.fnm",
|
106
|
-
"solr/solr/data/development/index/_c.frq",
|
107
|
-
"solr/solr/data/development/index/_c.nrm",
|
108
|
-
"solr/solr/data/development/index/_c.prx",
|
109
|
-
"solr/solr/data/development/index/_c.tii",
|
110
|
-
"solr/solr/data/development/index/_c.tis",
|
111
|
-
"solr/solr/data/development/index/_c_1.del",
|
112
|
-
"solr/solr/data/development/index/segments.gen",
|
113
|
-
"solr/solr/data/development/index/segments_q",
|
74
|
+
"solr/solr/conf/xslt/luke.xsl",
|
114
75
|
"solr/start.jar",
|
115
76
|
"solr/webapps/solr.war",
|
116
77
|
"spec/bigindex-solr_spec.rb",
|
data/examples/bigindex.yml
CHANGED
File without changes
|
data/install.rb
CHANGED
File without changes
|
data/lib/bigindex-solr.rb
CHANGED
File without changes
|
data/lib/bigindex-solr/tasks.rb
CHANGED
File without changes
|
@@ -1,6 +1,6 @@
|
|
1
1
|
namespace :bigindex do
|
2
2
|
namespace :solr do
|
3
|
-
|
3
|
+
|
4
4
|
desc 'Generates a bigindex.yml config file and places it into your RAILS_ROOT/config folder. Creates bigindex.yml.sample if the file already exists.'
|
5
5
|
task :generate_config do
|
6
6
|
require File.join(File.dirname(__FILE__), "..", "..", "install.rb")
|
@@ -9,7 +9,7 @@ namespace :bigindex do
|
|
9
9
|
desc 'Starts Solr. Options accepted: RAILS_ENV=your_env, PORT=XX. Defaults to development if none.'
|
10
10
|
task :start do
|
11
11
|
require 'net/http'
|
12
|
-
|
12
|
+
|
13
13
|
unless defined?(BigindexSolr)
|
14
14
|
require File.join(File.dirname(__FILE__), "..", "bigindex-solr")
|
15
15
|
end
|
@@ -22,9 +22,11 @@ namespace :bigindex do
|
|
22
22
|
puts "Port #{BigindexSolr::PORT} in use" and return
|
23
23
|
|
24
24
|
rescue Errno::ECONNREFUSED #not responding
|
25
|
+
ENV['JAVA_BIN'] ||= 'java'
|
26
|
+
|
25
27
|
Dir.chdir(BigindexSolr::SOLR_PATH) do
|
26
28
|
pid = fork do
|
27
|
-
exec "
|
29
|
+
exec "#{ENV['JAVA_BIN']} #{BigindexSolr::JVM_OPTIONS} -Dsolr.data.dir=#{BigindexSolr::DATA_PATH} -Djetty.logs=#{BigindexSolr::LOGS_PATH} -Djetty.port=#{BigindexSolr::PORT} -jar start.jar"
|
28
30
|
end
|
29
31
|
sleep(5)
|
30
32
|
File.open("#{BigindexSolr::PID_PATH}/#{BigindexSolr::ENVIRONMENT}_pid", "w"){ |f| f << pid}
|
data/schema.xml
CHANGED
File without changes
|
data/solr/CHANGES.txt
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
Apache Solr Version 1.3.0
|
2
2
|
Release Notes
|
3
3
|
|
4
4
|
Introduction
|
@@ -19,9 +19,649 @@ servlet container in the directory named "example".
|
|
19
19
|
See the tutorial at http://lucene.apache.org/solr/tutorial.html
|
20
20
|
|
21
21
|
|
22
|
-
$Id: CHANGES.txt
|
22
|
+
$Id: CHANGES.txt 694377 2008-09-11 17:40:11Z klaas $
|
23
23
|
|
24
|
-
================== Release 1.
|
24
|
+
================== Release 1.3.0 ==================
|
25
|
+
|
26
|
+
|
27
|
+
Upgrading from Solr 1.2
|
28
|
+
-----------------------
|
29
|
+
IMPORTANT UPGRADE NOTE: In a master/slave configuration, all searchers/slaves
|
30
|
+
should be upgraded before the master! If the master were to be updated
|
31
|
+
first, the older searchers would not be able to read the new index format.
|
32
|
+
|
33
|
+
The Porter snowball based stemmers in Lucene were updated (LUCENE-1142),
|
34
|
+
and are not guaranteed to be backward compatible at the index level
|
35
|
+
(the stem of certain words may have changed). Re-indexing is recommended.
|
36
|
+
|
37
|
+
Older Apache Solr installations can be upgraded by replacing
|
38
|
+
the relevant war file with the new version. No changes to configuration
|
39
|
+
files should be needed.
|
40
|
+
|
41
|
+
This version of Solr contains a new version of Lucene implementing
|
42
|
+
an updated index format. This version of Solr/Lucene can still read
|
43
|
+
and update indexes in the older formats, and will convert them to the new
|
44
|
+
format on the first index change. Be sure to backup your index before
|
45
|
+
upgrading in case you need to downgrade.
|
46
|
+
|
47
|
+
Solr now recognizes HTTP Request headers related to HTTP Caching (see
|
48
|
+
RFC 2616 sec13) and will by default respond with "304 Not Modified"
|
49
|
+
when appropriate. This should only affect users who access Solr via
|
50
|
+
an HTTP Cache, or via a Web-browser that has an internal cache, but if
|
51
|
+
you wish to suppress this behavior an '<httpCaching never304="true"/>'
|
52
|
+
option can be added to your solrconfig.xml. See the wiki (or the
|
53
|
+
example solrconfig.xml) for more details...
|
54
|
+
http://wiki.apache.org/solr/SolrConfigXml#HTTPCaching
|
55
|
+
|
56
|
+
In Solr 1.2, DateField did not enforce the canonical representation of
|
57
|
+
the ISO 8601 format when parsing incoming data, and did not generation
|
58
|
+
the canonical format when generating dates from "Date Math" strings
|
59
|
+
(particularly as it pertains to milliseconds ending in trailing zeros)
|
60
|
+
-- As a result equivalent dates could not always be compared properly.
|
61
|
+
This problem is corrected in Solr 1.3, but DateField users that might
|
62
|
+
have been affected by indexing inconsistent formats of equivilent
|
63
|
+
dates (ie: 1995-12-31T23:59:59Z vs 1995-12-31T23:59:59.000Z) may want
|
64
|
+
to consider reindexing to correct these inconsistencies. Users who
|
65
|
+
depend on some of the the "broken" behavior of DateField in Solr 1.2
|
66
|
+
(specificly: accepting any input that ends in a 'Z') should consider
|
67
|
+
using the LegacyDateField class as a possible alternative. Users that
|
68
|
+
desire 100% backwards compatibility should consider using the Solr 1.2
|
69
|
+
version of DateField.
|
70
|
+
|
71
|
+
Due to some changes in the lifecycle of TokenFilterFactories, users of
|
72
|
+
Solr 1.2 who have written Java code which constructs new instances of
|
73
|
+
StopFilterFactory, SynonymFilterFactory, or EnglishProterFilterFactory
|
74
|
+
will need to modify their code by adding a line like the following
|
75
|
+
prior to using the factory object...
|
76
|
+
factory.inform(SolrCore.getSolrCore().getSolrConfig().getResourceLoader());
|
77
|
+
These lifecycle changes do not affect people who use Solr "out of the
|
78
|
+
box" or who have developed their own TokenFilterFactory plugins. More
|
79
|
+
info can be found in SOLR-594.
|
80
|
+
|
81
|
+
The python client that used to ship with Solr is no longer included in
|
82
|
+
the distribution (see client/python/README.txt).
|
83
|
+
|
84
|
+
Detailed Change List
|
85
|
+
--------------------
|
86
|
+
|
87
|
+
New Features
|
88
|
+
1. SOLR-69: Adding MoreLikeThisHandler to search for similar documents using
|
89
|
+
lucene contrib/queries MoreLikeThis. MoreLikeThis is also available from
|
90
|
+
the StandardRequestHandler using ?mlt=true. (bdelacretaz, ryan)
|
91
|
+
|
92
|
+
2. SOLR-253: Adding KeepWordFilter and KeepWordFilterFactory. A TokenFilter
|
93
|
+
that keeps tokens with text in the registered keeplist. This behaves like
|
94
|
+
the inverse of StopFilter. (ryan)
|
95
|
+
|
96
|
+
3. SOLR-257: WordDelimiterFilter has a new parameter splitOnCaseChange,
|
97
|
+
which can be set to 0 to disable splitting "PowerShot" => "Power" "Shot".
|
98
|
+
(klaas)
|
99
|
+
|
100
|
+
4. SOLR-193: Adding SolrDocument and SolrInputDocument to represent documents
|
101
|
+
outside of the lucene Document infrastructure. This class will be used
|
102
|
+
by clients and for processing documents. (ryan)
|
103
|
+
|
104
|
+
5. SOLR-244: Added ModifiableSolrParams - a SolrParams implementation that
|
105
|
+
help you change values after initialization. (ryan)
|
106
|
+
|
107
|
+
6. SOLR-20: Added a java client interface with two implementations. One
|
108
|
+
implementation uses commons httpclient to connect to solr via HTTP. The
|
109
|
+
other connects to solr directly. Check client/java/solrj. This addition
|
110
|
+
also includes tests that start jetty and test a connection using the full
|
111
|
+
HTTP request cycle. (Darren Erik Vengroff, Will Johnson, ryan)
|
112
|
+
|
113
|
+
7. SOLR-133: Added StaxUpdateRequestHandler that uses StAX for XML parsing.
|
114
|
+
This implementation has much better error checking and lets you configure
|
115
|
+
a custom UpdateRequestProcessor that can selectively process update
|
116
|
+
requests depending on the request attributes. This class will likely
|
117
|
+
replace XmlUpdateRequestHandler. (Thorsten Scherler, ryan)
|
118
|
+
|
119
|
+
8. SOLR-264: Added RandomSortField, a utility field with a random sort order.
|
120
|
+
The seed is based on a hash of the field name, so a dynamic field
|
121
|
+
of this type is useful for generating different random sequences.
|
122
|
+
This field type should only be used for sorting or as a value source
|
123
|
+
in a FunctionQuery (ryan, hossman, yonik)
|
124
|
+
|
125
|
+
9. SOLR-266: Adding show=schema to LukeRequestHandler to show the parsed
|
126
|
+
schema fields and field types. (ryan)
|
127
|
+
|
128
|
+
10. SOLR-133: The UpdateRequestHandler now accepts multiple delete options
|
129
|
+
within a single request. For example, sending:
|
130
|
+
<delete><id>1</id><id>2</id></delete> will delete both 1 and 2. (ryan)
|
131
|
+
|
132
|
+
11. SOLR-269: Added UpdateRequestProcessor plugin framework. This provides
|
133
|
+
a reasonable place to process documents after they are parsed and
|
134
|
+
before they are committed to the index. This is a good place for custom
|
135
|
+
document manipulation or document based authorization. (yonik, ryan)
|
136
|
+
|
137
|
+
12. SOLR-260: Converting to a standard PluginLoader framework. This reworks
|
138
|
+
RequestHandlers, FieldTypes, and QueryResponseWriters to share the same
|
139
|
+
base code for loading and initializing plugins. This adds a new
|
140
|
+
configuration option to define the default RequestHandler and
|
141
|
+
QueryResponseWriter in XML using default="true". (ryan)
|
142
|
+
|
143
|
+
13. SOLR-225: Enable pluggable highlighting classes. Allow configurable
|
144
|
+
highlighting formatters and Fragmenters. (ryan)
|
145
|
+
|
146
|
+
14. SOLR-273/376/452/516: Added hl.maxAnalyzedChars highlighting parameter, defaulting
|
147
|
+
to 50k, hl.alternateField, which allows the specification of a backup
|
148
|
+
field to use as summary if no keywords are matched, and hl.mergeContiguous,
|
149
|
+
which combines fragments if they are adjacent in the source document.
|
150
|
+
(klaas, Grant Ingersoll, Koji Sekiguchi via klaas)
|
151
|
+
|
152
|
+
15. SOLR-291: Control maximum number of documents to cache for any entry
|
153
|
+
in the queryResultCache via queryResultMaxDocsCached solrconfig.xml
|
154
|
+
entry. (Koji Sekiguchi via yonik)
|
155
|
+
|
156
|
+
16. SOLR-240: New <lockType> configuration setting in <mainIndex> and
|
157
|
+
<indexDefaults> blocks supports all Lucene builtin LockFactories.
|
158
|
+
'single' is recommended setting, but 'simple' is default for total
|
159
|
+
backwards compatibility.
|
160
|
+
(Will Johnson via hossman)
|
161
|
+
|
162
|
+
17. SOLR-248: Added CapitalizationFilterFactory that creates tokens with
|
163
|
+
normalized capitalization. This filter is useful for facet display,
|
164
|
+
but will not work with a prefix query. (ryan)
|
165
|
+
SOLR-468: Change to the semantics to keep the original token, not the token in the Map. Also switched to
|
166
|
+
use Lucene's new reusable token capabilities. (gsingers)
|
167
|
+
|
168
|
+
18. SOLR-307: Added NGramFilterFactory and EdgeNGramFilterFactory.
|
169
|
+
(Thomas Peuss via Otis Gospodnetic)
|
170
|
+
|
171
|
+
19. SOLR-305: analysis.jsp can be given a fieldtype instead of a field
|
172
|
+
name. (hossman)
|
173
|
+
|
174
|
+
20. SOLR-102: Added RegexFragmenter, which splits text for highlighting
|
175
|
+
based on a given pattern. (klaas)
|
176
|
+
|
177
|
+
21. SOLR-258: Date Faceting added to SimpleFacets. Facet counts
|
178
|
+
computed for ranges of size facet.date.gap (a DateMath expression)
|
179
|
+
between facet.date.start and facet.date.end. (hossman)
|
180
|
+
|
181
|
+
22. SOLR-196: A PHP serialized "phps" response writer that returns a
|
182
|
+
serialized array that can be used with the PHP function unserialize,
|
183
|
+
and a PHP response writer "php" that may be used by eval.
|
184
|
+
(Nick Jenkin, Paul Borgermans, Pieter Berkel via yonik)
|
185
|
+
|
186
|
+
23. SOLR-308: A new UUIDField class which accepts UUID string values,
|
187
|
+
as well as the special value of "NEW" which triggers generation of
|
188
|
+
a new random UUID.
|
189
|
+
(Thomas Peuss via hossman)
|
190
|
+
|
191
|
+
24. SOLR-349: New FunctionQuery functions: sum, product, div, pow, log,
|
192
|
+
sqrt, abs, scale, map. Constants may now be used as a value source.
|
193
|
+
(yonik)
|
194
|
+
|
195
|
+
25. SOLR-359: Add field type className to Luke response, and enabled access
|
196
|
+
to the detailed field information from the solrj client API.
|
197
|
+
(Grant Ingersoll via ehatcher)
|
198
|
+
|
199
|
+
26. SOLR-334: Pluggable query parsers. Allows specification of query
|
200
|
+
type and arguments as a prefix on a query string. (yonik)
|
201
|
+
|
202
|
+
27. SOLR-351: External Value Source. An external file may be used
|
203
|
+
to specify the values of a field, currently usable as
|
204
|
+
a ValueSource in a FunctionQuery. (yonik)
|
205
|
+
|
206
|
+
28. SOLR-395: Many new features for the spell checker implementation, including
|
207
|
+
an extended response mode with much richer output, multi-word spell checking,
|
208
|
+
and a bevy of new and renamed options (see the wiki).
|
209
|
+
(Mike Krimerman, Scott Taber via klaas).
|
210
|
+
|
211
|
+
29. SOLR-408: Added PingRequestHandler and deprecated SolrCore.getPingQueryRequest().
|
212
|
+
Ping requests should be configured using standard RequestHandler syntax in
|
213
|
+
solrconfig.xml rather then using the <pingQuery></pingQuery> syntax.
|
214
|
+
(Karsten Sperling via ryan)
|
215
|
+
|
216
|
+
30. SOLR-281: Added a 'Search Component' interface and converted StandardRequestHandler
|
217
|
+
and DisMaxRequestHandler to use this framework.
|
218
|
+
(Sharad Agarwal, Henri Biestro, yonik, ryan)
|
219
|
+
|
220
|
+
31. SOLR-176: Add detailed timing data to query response output. The SearchHandler
|
221
|
+
interface now returns how long each section takes. (klaas)
|
222
|
+
|
223
|
+
32. SOLR-414: Plugin initialization now supports SolrCore and ResourceLoader "Aware"
|
224
|
+
plugins. Plugins that implement SolrCoreAware or ResourceLoaderAware are
|
225
|
+
informed about the SolrCore/ResourceLoader. (Henri Biestro, ryan)
|
226
|
+
|
227
|
+
33. SOLR-350: Support multiple SolrCores running in the same solr instance and allows
|
228
|
+
runtime runtime management for any running SolrCore. If a solr.xml file exists
|
229
|
+
in solr.home, this file is used to instanciate multiple cores and enables runtime
|
230
|
+
core manipulation. For more informaion see: http://wiki.apache.org/solr/CoreAdmin
|
231
|
+
(Henri Biestro, ryan)
|
232
|
+
|
233
|
+
34. SOLR-447: Added an single request handler that will automatically register all
|
234
|
+
standard admin request handlers. This replaces the need to register (and maintain)
|
235
|
+
the set of admin request handlers. Assuming solrconfig.xml includes:
|
236
|
+
<requestHandler name="/admin/" class="org.apache.solr.handler.admin.AdminHandlers" />
|
237
|
+
This will register: Luke/SystemInfo/PluginInfo/ThreadDump/PropertiesRequestHandler.
|
238
|
+
(ryan)
|
239
|
+
|
240
|
+
35. SOLR-142: Added RawResponseWriter and ShowFileRequestHandler. This returns config
|
241
|
+
files directly. If AdminHandlers are configured, this will be added automatically.
|
242
|
+
The jsp files /admin/get-file.jsp and /admin/raw-schema.jsp have been deprecated.
|
243
|
+
The deprecated <admin><gettableFiles> will be automatically registered with
|
244
|
+
a ShowFileRequestHandler instance for backwards compatibility. (ryan)
|
245
|
+
|
246
|
+
36. SOLR-446: TextResponseWriter can write SolrDocuments and SolrDocumentLists the
|
247
|
+
same way it writes Document and DocList. (yonik, ryan)
|
248
|
+
|
249
|
+
37. SOLR-418: Adding a query elevation component. This is an optional component to
|
250
|
+
elevate some documents to the top positions (or exclude them) for a given query.
|
251
|
+
(ryan)
|
252
|
+
|
253
|
+
38. SOLR-478: Added ability to get back unique key information from the LukeRequestHandler. (gsingers)
|
254
|
+
|
255
|
+
39. SOLR-127: HTTP Caching awareness. Solr now recognizes HTTP Request
|
256
|
+
headers related to HTTP Caching (see RFC 2616 sec13) and will respond
|
257
|
+
with "304 Not Modified" when appropriate. New options have been added
|
258
|
+
to solrconfig.xml to influence this behavior.
|
259
|
+
(Thomas Peuss via hossman)
|
260
|
+
|
261
|
+
40. SOLR-303: Distributed Search over HTTP. Specification of shards
|
262
|
+
argument causes Solr to query those shards and merge the results
|
263
|
+
into a single response. Querying, field faceting (sorted only),
|
264
|
+
query faceting, highlighting, and debug information are supported
|
265
|
+
in distributed mode.
|
266
|
+
(Sharad Agarwal, Patrick O'Leary, Sabyasachi Dalal, Stu Hood,
|
267
|
+
Jayson Minard, Lars Kotthoff, ryan, yonik)
|
268
|
+
|
269
|
+
41. SOLR-356: Pluggable functions (value sources) that allow
|
270
|
+
registration of new functions via solrconfig.xml
|
271
|
+
(Doug Daniels via yonik)
|
272
|
+
|
273
|
+
42. SOLR-494: Added cool admin Ajaxed schema explorer.
|
274
|
+
(Greg Ludington via ehatcher)
|
275
|
+
|
276
|
+
43. SOLR-497: Added date faceting to the QueryResponse in SolrJ
|
277
|
+
and QueryResponseTest (Shalin Shekhar Mangar via gsingers)
|
278
|
+
|
279
|
+
44. SOLR-486: Binary response format, faster and smaller
|
280
|
+
than XML and JSON response formats (use wt=javabin).
|
281
|
+
BinaryResponseParser for utilizing the binary format via SolrJ
|
282
|
+
and is now the default.
|
283
|
+
(Noble Paul, yonik)
|
284
|
+
|
285
|
+
45. SOLR-521: StopFilterFactory support for "enablePositionIncrements"
|
286
|
+
(Walter Ferrara via hossman)
|
287
|
+
|
288
|
+
46. SOLR-557: Added SolrCore.getSearchComponents() to return an unmodifiable Map. (gsingers)
|
289
|
+
|
290
|
+
47. SOLR-516: Added hl.maxAlternateFieldLength parameter, to set max length for hl.alternateField
|
291
|
+
(Koji Sekiguchi via klaas)
|
292
|
+
|
293
|
+
48. SOLR-319: Changed SynonymFilterFactory to "tokenize" synonyms file.
|
294
|
+
To use a tokenizer, specify "tokenizerFactory" attribute in <filter>.
|
295
|
+
For example:
|
296
|
+
<tokenizer class="solr.CJKTokenizerFactory"/>
|
297
|
+
<filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" expand="true"
|
298
|
+
ignoreCase="true" tokenizerFactory="solr.CJKTokenizerFactory"/>
|
299
|
+
(koji)
|
300
|
+
|
301
|
+
49. SOLR-515: Added SimilarityFactory capability to schema.xml,
|
302
|
+
making config file parameters usable in the construction of
|
303
|
+
the global Lucene Similarity implementation.
|
304
|
+
(ehatcher)
|
305
|
+
|
306
|
+
50. SOLR-536: Add a DocumentObjectBinder to solrj that converts Objects to and
|
307
|
+
from SolrDocuments. (Noble Paul via ryan)
|
308
|
+
|
309
|
+
51. SOLR-595: Add support for Field level boosting in the MoreLikeThis Handler. (Tom Morton, gsingers)
|
310
|
+
|
311
|
+
52. SOLR-572: Added SpellCheckComponent and org.apache.solr.spelling package to support more spell checking functionality.
|
312
|
+
Also includes ability to add your own SolrSpellChecker implementation that plugs in.
|
313
|
+
See http://wiki.apache.org/solr/SpellCheckComponent for more details
|
314
|
+
(Shalin Shekhar Mangar, Bojan Smid, gsingers)
|
315
|
+
53. SOLR-679: Added accessor methods to Lucene based spell checkers (gsingers)
|
316
|
+
|
317
|
+
54. SOLR-423: Added Request Handler close hook notification so that RequestHandlers can be notified when a core is closing. (gsingers, ryan)
|
318
|
+
|
319
|
+
55. SOLR-603: Added ability to partially optimize. (gsingers)
|
320
|
+
|
321
|
+
56. SOLR-483: Add byte/short sorting support (gsingers)
|
322
|
+
|
323
|
+
57. SOLR-14: Add preserveOriginal flag to WordDelimiterFilter
|
324
|
+
(Geoffrey Young, Trey Hyde, Ankur Madnani, yonik)
|
325
|
+
|
326
|
+
58. SOLR-502: Add search timeout support. (Sean Timm via yonik)
|
327
|
+
|
328
|
+
59. SOLR-605: Add the ability to register callbacks programatically (ryan, Noble Paul)
|
329
|
+
|
330
|
+
60. SOLR-610: hl.maxAnalyzedChars can be -1 to highlight everything (Lars Kotthoff via klaas)
|
331
|
+
|
332
|
+
61. SOLR-522: Make analysis.jsp show payloads. (Tricia Williams via yonik)
|
333
|
+
|
334
|
+
62. SOLR-611: Expose sort_values returned by QueryComponent in SolrJ's QueryResponse (Dan Rosher via shalin)
|
335
|
+
|
336
|
+
63. SOLR-256: Support exposing Solr statistics through JMX (Sharad Agrawal, shalin)
|
337
|
+
|
338
|
+
64. SOLR-666: Expose warmup time in statistics for SolrIndexSearcher and LRUCache (shalin)
|
339
|
+
|
340
|
+
65. SOLR-663: Allow multiple files for stopwords, keepwords, protwords and synonyms (Otis Gospodnetic, shalin)
|
341
|
+
|
342
|
+
66. SOLR-469: Added DataImportHandler as a contrib project which makes indexing data from Databases, XML files and HTTP
|
343
|
+
data sources into Solr quick and easy. Includes API and implementations for supporting multiple
|
344
|
+
data sources, processors and transformers for importing data. Supports full data imports as well as
|
345
|
+
incremental (delta) indexing. See http://wiki.apache.org/solr/DataImportHandler for more details.
|
346
|
+
(Noble Paul, shalin)
|
347
|
+
|
348
|
+
67. SOLR-622: SpellCheckComponent supports auto-loading indices on startup and optionally, (re)builds indices
|
349
|
+
on newSearcher event, if configured in solrconfig.xml
|
350
|
+
(shalin)
|
351
|
+
|
352
|
+
68. SOLR-554: Hierarchical JDK log level selector for SOLR Admin replaces logging.jsp (Sean Timm via shalin)
|
353
|
+
|
354
|
+
69. SOLR-506: Emitting HTTP Cache headers can be enabled or disabled through configuration
|
355
|
+
on a per-handler basis (shalin)
|
356
|
+
|
357
|
+
70. SOLR-716: Added support for properties in configuration files. Properties can be specified in solr.xml
|
358
|
+
and can be used in solrconfig.xml and schema.xml
|
359
|
+
(Henri Biestro, hossman, ryan, shalin)
|
360
|
+
|
361
|
+
Changes in runtime behavior
|
362
|
+
1. SOLR-559: use Lucene updateDocument, deleteDocuments methods. This
|
363
|
+
removes the maxBufferedDeletes parameter added by SOLR-310 as Lucene
|
364
|
+
now manages the deletes. This provides slightly better indexing
|
365
|
+
performance and makes overwrites atomic, eliminating the possibility of
|
366
|
+
a crash causing duplicates. (yonik)
|
367
|
+
|
368
|
+
2. SOLR-689 / SOLR-695: If you have used "MultiCore" functionality in an unreleased
|
369
|
+
version of 1.3-dev, many classes and configs have been renamed for the official
|
370
|
+
1.3 release. Speciffically, solr.xml has replaced multicore.xml, and uses a slightly
|
371
|
+
different syntax. The solrj classes: MultiCore{Request/Response/Params} have been
|
372
|
+
renamed: CoreAdmin{Request/Response/Params} (hossman, ryan, Henri Biestro)
|
373
|
+
|
374
|
+
3. SOLR-647: reference count the SolrCore uses to prevent a premature
|
375
|
+
close while a core is still in use. (Henri Biestro, Noble Paul, yonik)
|
376
|
+
|
377
|
+
4. SOLR-737: SolrQueryParser now uses a ConstantScoreQuery for wildcard
|
378
|
+
queries that prevent an exception from being thrown when the number
|
379
|
+
of matching terms exceeds the BooleanQuery clause limit. (yonik)
|
380
|
+
|
381
|
+
Optimizations
|
382
|
+
1. SOLR-276: improve JSON writer speed. (yonik)
|
383
|
+
|
384
|
+
2. SOLR-310: bound and reduce memory usage by providing <maxBufferedDeletes> parameter,
|
385
|
+
which flushes deleted without forcing the user to use <commit/> for this purpose.
|
386
|
+
(klaas)
|
387
|
+
|
388
|
+
3. SOLR-348: short-circuit faceting if less than mincount docs match. (yonik)
|
389
|
+
|
390
|
+
4. SOLR-354: Optimize removing all documents. Now when a delete by query
|
391
|
+
of *:* is issued, the current index is removed. (yonik)
|
392
|
+
|
393
|
+
5. SOLR-377: Speed up response writers. (yonik)
|
394
|
+
|
395
|
+
6. SOLR-342: Added support into the SolrIndexWriter for using several new
|
396
|
+
features of the new LuceneIndexWriter, including: setRAMBufferSizeMB(), setMergePolicy(), setMergeScheduler. Also, added support
|
397
|
+
to specify Lucene's autoCommit functionality (not to be confused with Solr's similarily named autoCommit functionality) via
|
398
|
+
the <luceneAutoCommit> config. item. See the test and example solrconfig.xml <indexDefaults> section for usage. Performance during
|
399
|
+
indexing should be significantly increased by moving up to 2.3 due to Lucene's new indexing capabilities. Furthermore,
|
400
|
+
the setRAMBufferSizeMB makes it more logical to decide on tuning factors related to indexing. For best performance, leave the
|
401
|
+
mergePolicy and mergeScheduler as the defaults and set ramBufferSizeMB instead of maxBufferedDocs. The best value for this
|
402
|
+
depends on the types of documents in use. 32 should be a good starting point, but reports have shown up to 48 MB provides
|
403
|
+
good results. Note, it is acceptable to set both ramBufferSizeMB and maxBufferedDocs, and Lucene will flush based on whichever
|
404
|
+
limit is reached first. (gsingers)
|
405
|
+
|
406
|
+
7. SOLR-330: Converted TokenStreams to use Lucene's new char array based
|
407
|
+
capabilities. (gsingers)
|
408
|
+
|
409
|
+
8. SOLR-624: Only take snapshots if there are differences to the index (Richard Trey Hyde via gsingers)
|
410
|
+
|
411
|
+
9. SOLR-587: Delete by Query performance greatly improved by using
|
412
|
+
new underlying Lucene IndexWriter implementation. (yonik)
|
413
|
+
|
414
|
+
10. SOLR-730: Use read-only IndexReaders that don't synchronize
|
415
|
+
isDeleted(). This will speed up function queries and *:* queries
|
416
|
+
as well as improve their scalability on multi-CPU systems.
|
417
|
+
(Mark Miller via yonik)
|
418
|
+
|
419
|
+
Bug Fixes
|
420
|
+
1. Make TextField respect sortMissingFirst and sortMissingLast fields.
|
421
|
+
(J.J. Larrea via yonik)
|
422
|
+
|
423
|
+
2. autoCommit/maxDocs was not working properly when large autoCommit/maxTime
|
424
|
+
was specified (klaas)
|
425
|
+
|
426
|
+
3. SOLR-283: autoCommit was not working after delete. (ryan)
|
427
|
+
|
428
|
+
4. SOLR-286: ContentStreamBase was not using default encoding for getBytes()
|
429
|
+
(Toru Matsuzawa via ryan)
|
430
|
+
|
431
|
+
5. SOLR-292: Fix MoreLikeThis facet counting. (Pieter Berkel via ryan)
|
432
|
+
|
433
|
+
6. SOLR-297: Fix bug in RequiredSolrParams where requiring a field
|
434
|
+
specific param would fail if a general default value had been supplied.
|
435
|
+
(hossman)
|
436
|
+
|
437
|
+
7. SOLR-331: Fix WordDelimiterFilter handling of offsets for synonyms or
|
438
|
+
other injected tokens that can break highlighting. (yonik)
|
439
|
+
|
440
|
+
8. SOLR-282: Snapshooter does not work on Solaris and OS X since the cp command
|
441
|
+
there does not have the -l option. Also updated commit/optimize related
|
442
|
+
scripts to handle both old and new response format. (bill)
|
443
|
+
|
444
|
+
9. SOLR-294: Logging of elapsed time broken on Solaris because the date command
|
445
|
+
there does not support the %s output format. (bill)
|
446
|
+
|
447
|
+
10. SOLR-136: Snappuller - "date -d" and locales don't mix. (Jürgen Hermann via bill)
|
448
|
+
|
449
|
+
11. SOLR-333: Changed distributiondump.jsp to use Solr HOME instead of CWD to set path.
|
450
|
+
|
451
|
+
12. SOLR-393: Removed duplicate contentType from raw-schema.jsp. (bill)
|
452
|
+
|
453
|
+
13. SOLR-413: Requesting a large numbers of documents to be returned (limit)
|
454
|
+
can result in an out-of-memory exception, even for a small index. (yonik)
|
455
|
+
|
456
|
+
14. The CSV loader incorrectly threw an exception when given
|
457
|
+
header=true (the default). (ryan, yonik)
|
458
|
+
|
459
|
+
15. SOLR-449: the python and ruby response writers are now able to correctly
|
460
|
+
output NaN and Infinity in their respective languages. (klaas)
|
461
|
+
|
462
|
+
16. SOLR-42: HTMLStripReader tokenizers now preserve correct source
|
463
|
+
offsets for highlighting. (Grant Ingersoll via yonik)
|
464
|
+
|
465
|
+
17. SOLR-481: Handle UnknownHostException in _info.jsp (gsingers)
|
466
|
+
|
467
|
+
18. SOLR-324: Add proper support for Long and Doubles in sorting, etc. (gsingers)
|
468
|
+
|
469
|
+
19. SOLR-496: Cache-Control max-age changed to Long so Expires
|
470
|
+
calculation won't cause overflow. (Thomas Peuss via hossman)
|
471
|
+
|
472
|
+
20. SOLR-535: Fixed typo (Tokenzied -> Tokenized) in schema.jsp (Thomas Peuss via billa)
|
473
|
+
|
474
|
+
21. SOLR-529: Better error messages from SolrQueryParser when field isn't
|
475
|
+
specified and there is no defaultSearchField in schema.xml
|
476
|
+
(Lars Kotthoff via hossman)
|
477
|
+
|
478
|
+
22. SOLR-530: Better error messages/warnings when parsing schema.xml:
|
479
|
+
field using bogus fieldtype and multiple copyFields to a non-multiValue
|
480
|
+
field. (Shalin Shekhar Mangar via hossman)
|
481
|
+
|
482
|
+
23. SOLR-528: Better error message when defaultSearchField is bogus or not
|
483
|
+
indexed. (Lars Kotthoff via hossman)
|
484
|
+
|
485
|
+
24. SOLR-533: Fixed tests so they don't use hardcoded port numbers.
|
486
|
+
(hossman)
|
487
|
+
|
488
|
+
25. SOLR-400: SolrExceptionTest should now handle using OpenDNS as a DNS provider (gsingers)
|
489
|
+
|
490
|
+
26. SOLR-541: Legacy XML update support (provided by SolrUpdateServlet
|
491
|
+
when no RequestHandler is mapped to "/update") now logs error correctly.
|
492
|
+
(hossman)
|
493
|
+
|
494
|
+
27. SOLR-267: Changed logging to report number of hits, and also provide a mechanism to add log messages to be output by the SolrCore via a NamedList toLog
|
495
|
+
member variable. (Will Johnson, yseeley, gsingers)
|
496
|
+
SOLR-267: Removed adding values to the HTTP headers in SolrDispatchFilter (gsingers)
|
497
|
+
|
498
|
+
28. SOLR-509: Moved firstSearcher event notification to the end of the SolrCore constructor (Koji Sekiguchi via gsingers)
|
499
|
+
|
500
|
+
29. SOLR-470, SOLR-552, SOLR-544, SOLR-701: Multiple fixes to DateField
|
501
|
+
regarding lenient parsing of optional milliseconds, and correct
|
502
|
+
formating using the canonical representation. LegacyDateField has
|
503
|
+
been added for people who have come to depend on the existing
|
504
|
+
broken behavior. (hossman, Stefan Oestreicher)
|
505
|
+
|
506
|
+
30. SOLR-539: Fix for non-atomic long counters and a cast fix to avoid divide
|
507
|
+
by zero. (Sean Timm via Otis Gospodnetic)
|
508
|
+
|
509
|
+
31. SOLR-514: Added explicit media-type with UTF* charset to *.xsl files that
|
510
|
+
don't already have one. (hossman)
|
511
|
+
|
512
|
+
32. SOLR-505: Give RequestHandlers the possiblity to suppress the generation
|
513
|
+
of HTTP caching headers. (Thomas Peuss via Otis Gospodnetic)
|
514
|
+
|
515
|
+
33. SOLR-553: Handle highlighting of phrase terms better when
|
516
|
+
hl.usePhraseHighligher=true URL param is used.
|
517
|
+
(Bojan Smid via Otis Gospodnetic)
|
518
|
+
|
519
|
+
34. SOLR-590: Limitation in pgrep on Linux platform breaks script-utils fixUser. (Hannes Schmidt via billa)
|
520
|
+
|
521
|
+
35. SOLR-597: SolrServlet no longer "caches" SolrCore. This was causing
|
522
|
+
problems in Resin, and could potentially cause problems for customized
|
523
|
+
usages of SolrServlet.
|
524
|
+
|
525
|
+
36. SOLR-585: Now sets the QParser on the ResponseBuilder (gsingers)
|
526
|
+
|
527
|
+
37. SOLR-604: If the spellchecking path is relative, make it relative to the Solr Data Directory. (Shalin Shekhar Mangar via gsingers)
|
528
|
+
|
529
|
+
38. SOLR-584: Make stats.jsp and stats.xsl more robust.
|
530
|
+
(Yousef Ourabi and hossman)
|
531
|
+
|
532
|
+
39. SOLR-443: SolrJ: Declare UTF-8 charset on POSTed parameters
|
533
|
+
to avoid problems with servlet containers that default to latin-1
|
534
|
+
and allow switching of the exact POST mechanism for parameters
|
535
|
+
via useMultiPartPost in CommonsHttpSolrServer.
|
536
|
+
(Lars Kotthoff, Andrew Schurman, ryan, yonik)
|
537
|
+
|
538
|
+
40. SOLR-556: multi-valued fields always highlighted in disparate snippets (Lars Kotthoff via klaas)
|
539
|
+
|
540
|
+
41. SOLR-501: Fix admin/analysis.jsp UTF-8 input for some other servlet
|
541
|
+
containers such as Tomcat. (Hiroaki Kawai, Lars Kotthoff via yonik)
|
542
|
+
|
543
|
+
42. SOLR-616: SpellChecker accuracy configuration is not applied for FileBasedSpellChecker.
|
544
|
+
Apply it for FileBasedSpellChecker and IndexBasedSpellChecker both.
|
545
|
+
(shalin)
|
546
|
+
|
547
|
+
43. SOLR-648: SpellCheckComponent throws NullPointerException on using spellcheck.q request
|
548
|
+
parameter after restarting Solr, if reload is called but build is not called.
|
549
|
+
(Jonathan Lee, shalin)
|
550
|
+
|
551
|
+
44. SOLR-598: DebugComponent now always occurs last in the SearchHandler list unless the components are explicitly declared. (gsingers)
|
552
|
+
|
553
|
+
45. SOLR-676: DataImportHandler should use UpdateRequestProcessor API instead of directly using UpdateHandler. (shalin)
|
554
|
+
|
555
|
+
46. SOLR-696: Fixed bug in NamedListCodec in regards to serializing Iterable objects. (gsingers)
|
556
|
+
|
557
|
+
47. SOLR-669: snappuler fix for FreeBSD/Darwin (Richard "Trey" Hyde via Otis Gospodnetic)
|
558
|
+
|
559
|
+
48. SOLR-606: Fixed spell check collation offset issue. (Stefan Oestreicher , Geoffrey Young, gsingers)
|
560
|
+
|
561
|
+
49. SOLR-589: Improved handling of badly formated query strings (Sean Timm via Otis Gospodnetic)
|
562
|
+
|
563
|
+
50. SOLR-749: Allow QParser and ValueSourceParsers to be extended with same name (hossman, gsingers)
|
564
|
+
|
565
|
+
Other Changes
|
566
|
+
1. SOLR-135: Moved common classes to org.apache.solr.common and altered the
|
567
|
+
build scripts to make two jars: apache-solr-1.3.jar and
|
568
|
+
apache-solr-1.3-common.jar. This common.jar can be used in client code;
|
569
|
+
It does not have lucene or junit dependencies. The original classes
|
570
|
+
have been replaced with a @Deprecated extended class and are scheduled
|
571
|
+
to be removed in a later release. While this change does not affect API
|
572
|
+
compatibility, it is recommended to update references to these
|
573
|
+
deprecated classes. (ryan)
|
574
|
+
|
575
|
+
2. SOLR-268: Tweaks to post.jar so it prints the error message from Solr.
|
576
|
+
(Brian Whitman via hossman)
|
577
|
+
|
578
|
+
3. Upgraded to Lucene 2.2.0; June 18, 2007.
|
579
|
+
|
580
|
+
4. SOLR-215: Static access to SolrCore.getSolrCore() and SolrConfig.config
|
581
|
+
have been deprecated in order to support multiple loaded cores.
|
582
|
+
(Henri Biestro via ryan)
|
583
|
+
|
584
|
+
5. SOLR-367: The create method in all TokenFilter and Tokenizer Factories
|
585
|
+
provided by Solr now declare their specific return types instead of just
|
586
|
+
using "TokenStream" (hossman)
|
587
|
+
|
588
|
+
6. SOLR-396: Hooks add to build system for automatic generation of (stub)
|
589
|
+
Tokenizer and TokenFilter Factories.
|
590
|
+
Also: new Factories for all Tokenizers and TokenFilters provided by the
|
591
|
+
lucene-analyzers-2.2.0.jar -- includes support for German, Chinese,
|
592
|
+
Russan, Dutch, Greek, Brazilian, Thai, and French. (hossman)
|
593
|
+
|
594
|
+
7. Upgraded to commons-CSV r609327, which fixes escaping bugs and
|
595
|
+
introduces new escaping and whitespace handling options to
|
596
|
+
increase compatibility with different formats. (yonik)
|
597
|
+
|
598
|
+
8. Upgraded to Lucene 2.3.0; Jan 23, 2008.
|
599
|
+
|
600
|
+
9. SOLR-451: Changed analysis.jsp to use POST instead of GET, also made the input area a bit bigger (gsingers)
|
601
|
+
|
602
|
+
10. Upgrade to Lucene 2.3.1
|
603
|
+
|
604
|
+
11. SOLR-531: Different exit code for rsyncd-start and snappuller if disabled (Thomas Peuss via billa)
|
605
|
+
|
606
|
+
12. SOLR-550: Clarified DocumentBuilder addField javadocs (gsingers)
|
607
|
+
|
608
|
+
13. Upgrade to Lucene 2.3.2
|
609
|
+
|
610
|
+
14. SOLR-518: Changed luke.xsl to use divs w/css for generating histograms
|
611
|
+
instead of SVG (Thomas Peuss via hossman)
|
612
|
+
|
613
|
+
15. SOLR-592: Added ShardParams interface and changed several string literals
|
614
|
+
to references to constants in CommonParams.
|
615
|
+
(Lars Kotthoff via Otis Gospodnetic)
|
616
|
+
|
617
|
+
16. SOLR-520: Deprecated unused LengthFilter since already core in
|
618
|
+
Lucene-Java (hossman)
|
619
|
+
|
620
|
+
17. SOLR-645: Refactored SimpleFacetsTest (Lars Kotthoff via hossman)
|
621
|
+
|
622
|
+
18. SOLR-591: Changed Solrj default value for facet.sort to true (Lars Kotthoff via Shalin)
|
623
|
+
|
624
|
+
19. Upgraded to Lucene 2.4-dev (r669476) to support SOLR-572 (gsingers)
|
625
|
+
|
626
|
+
20. SOLR-636: Improve/simplify example configs; and make index.jsp
|
627
|
+
links more resilient to configs loaded via an InputStream
|
628
|
+
(Lars Kotthoff, hossman)
|
629
|
+
|
630
|
+
21. SOLR-682: Scripts now support FreeBSD (Richard Trey Hyde via gsingers)
|
631
|
+
|
632
|
+
22. SOLR-489: Added in deprecation comments. (Sean Timm, Lars Kothoff via gsingers)
|
633
|
+
|
634
|
+
23. SOLR-692: Migrated to stable released builds of StAX API 1.0.1 and StAX 1.2.0 (shalin)
|
635
|
+
24. Upgraded to Lucene 2.4-dev (r686801) (yonik)
|
636
|
+
25. Upgraded to Lucene 2.4-dev (r688745) 27-Aug-2008 (yonik)
|
637
|
+
26. Upgraded to Lucene 2.4-dev (r691741) 03-Sep-2008 (yonik)
|
638
|
+
27. Replaced the StAX reference implementation with the geronimo
|
639
|
+
StAX API jar, and the Woodstox StAX implementation. (yonik)
|
640
|
+
|
641
|
+
Build
|
642
|
+
1. SOLR-411. Changed the names of the Solr JARs to use the defacto standard JAR names based on
|
643
|
+
project-name-version.jar. This yields, for example:
|
644
|
+
apache-solr-common-1.3-dev.jar
|
645
|
+
apache-solr-solrj-1.3-dev.jar
|
646
|
+
apache-solr-1.3-dev.jar
|
647
|
+
|
648
|
+
2. SOLR-479: Added clover code coverage targets for committers and the nightly build. Requires the Clover library, as licensed to Apache and only available privately. To run:
|
649
|
+
ant -Drun.clover=true clean clover test generate-clover-reports
|
650
|
+
|
651
|
+
3. SOLR-510: Nightly release includes client sources. (koji)
|
652
|
+
|
653
|
+
4. SOLR-563: Modified the build process to build contrib projects
|
654
|
+
(Shalin Shekhar Mangar via Otis Gospodnetic)
|
655
|
+
|
656
|
+
5. SOLR-673: Modify build file to create javadocs for core, solrj, contrib and "all inclusive" (shalin)
|
657
|
+
|
658
|
+
6. SOLR-672: Nightly release includes contrib sources. (Jeremy Hinegardner, shalin)
|
659
|
+
|
660
|
+
7. SOLR-586: Added ant target and POM files for building maven artifacts of the Solr core, common,
|
661
|
+
client and contrib. The target can publish artifacts with source and javadocs.
|
662
|
+
(Spencer Crissman, Craig McClanahan, shalin)
|
663
|
+
|
664
|
+
================== Release 1.2, 20070602 ==================
|
25
665
|
|
26
666
|
Upgrading from Solr 1.1
|
27
667
|
-------------------------------------
|
@@ -221,6 +861,11 @@ New Features
|
|
221
861
|
35. SOLR-249: Deprecated SolrException( int, ... ) constructors in favor
|
222
862
|
of constructors that takes an ErrorCode enum. This will ensure that
|
223
863
|
all SolrExceptions use a valid HTTP status code. (ryan)
|
864
|
+
|
865
|
+
36. SOLR-386: Abstracted SolrHighlighter and moved existing implementation
|
866
|
+
to DefaultSolrHighlighter. Adjusted SolrCore and solrconfig.xml so
|
867
|
+
that highlighter is configurable via a class attribute. Allows users
|
868
|
+
to use their own highlighter implementation. (Tricia Williams via klaas)
|
224
869
|
|
225
870
|
Changes in runtime behavior
|
226
871
|
1. Highlighting using DisMax will only pick up terms from the main
|