2006-12-16 22:37:59 -05:00
|
|
|
Apache Solr Version 1.2-dev-incubating
|
2006-12-14 00:48:58 -05:00
|
|
|
Release Notes
|
|
|
|
|
|
|
|
Introduction
|
|
|
|
------------
|
|
|
|
Apache Solr is an open source enterprise search server based on the Lucene Java
|
|
|
|
search library, with XML/HTTP and JSON APIs, hit highlighting, faceted search,
|
|
|
|
caching, replication, and a web administration interface. It runs in a Java
|
|
|
|
servlet container such as Tomcat.
|
2006-01-26 13:16:09 -05:00
|
|
|
|
2006-12-01 11:35:42 -05:00
|
|
|
Apache Solr is an effort undergoing incubation at The Apache Software
|
|
|
|
Foundation (ASF), sponsored by Apache Lucene. Incubation is required of all
|
|
|
|
newly accepted projects until a further review indicates that the
|
|
|
|
infrastructure, communications, and decision making process have stabilized in
|
|
|
|
a manner consistent with other successful ASF projects. While incubation status
|
|
|
|
is not necessarily a reflection of the completeness or stability of the code,
|
|
|
|
it does indicate that the project has yet to be fully endorsed by the ASF.
|
|
|
|
|
2006-12-14 00:48:58 -05:00
|
|
|
See http://incubator.apache.org/solr for more information.
|
|
|
|
|
|
|
|
|
|
|
|
Getting Started
|
|
|
|
---------------
|
|
|
|
You need a Java 1.5 VM or later installed.
|
|
|
|
In this release, there is an example Solr server including a bundled
|
|
|
|
servlet container in the directory named "example".
|
|
|
|
See the tutorial at http://incubator.apache.org/solr/tutorial.html
|
|
|
|
|
|
|
|
|
|
|
|
$Id$
|
|
|
|
|
2006-12-16 22:37:59 -05:00
|
|
|
================== Release 1.2-dev, YYYYMMDD ==================
|
|
|
|
|
|
|
|
Detailed Change List
|
|
|
|
--------------------
|
|
|
|
|
|
|
|
New Features
|
2007-01-05 15:12:18 -05:00
|
|
|
1. SOLR-82: Default field values can be specified in the schema.xml.
|
|
|
|
(Ryan McKinley via hossman)
|
2007-01-16 13:26:14 -05:00
|
|
|
|
2007-01-13 00:19:47 -05:00
|
|
|
2. SOLR-89: Two new TokenFilters with corresponding Factories...
|
2007-01-09 20:18:38 -05:00
|
|
|
* TrimFilter - Trims leading and trailing whitespace from Tokens
|
|
|
|
* PatternReplaceFilter - applies a Pattern to each token in the
|
|
|
|
stream, replacing match occurances with a specified replacement.
|
|
|
|
(hossman)
|
2007-01-16 13:26:14 -05:00
|
|
|
|
2007-01-12 17:00:08 -05:00
|
|
|
3. SOLR-91: allow configuration of a limit of the number of searchers
|
|
|
|
that can be warming in the background. This can be used to avoid
|
|
|
|
out-of-memory errors, or contention caused by more and more searchers
|
|
|
|
warming in the background. An error is thrown if the limit specified
|
|
|
|
by maxWarmingSearchers in solrconfig.xml is exceeded. (yonik)
|
2006-12-16 22:37:59 -05:00
|
|
|
|
2007-01-16 13:26:14 -05:00
|
|
|
4. SOLR-106: New faceting parameters that allow specification of a
|
|
|
|
minimum count for returned facets (facet.mincount), paging through facets
|
|
|
|
(facet.offset, facet.limit), and explicit sorting (facet.sort).
|
|
|
|
facet.zeros is now deprecated. (yonik)
|
|
|
|
|
2006-12-16 22:37:59 -05:00
|
|
|
Changes in runtime behavior
|
2007-01-04 17:47:54 -05:00
|
|
|
1. Highlighting using DisMax will only pick up terms from the main
|
|
|
|
user query, not boost or filter queries (klaas).
|
2006-12-16 22:37:59 -05:00
|
|
|
|
|
|
|
Optimizations
|
2006-12-19 12:08:17 -05:00
|
|
|
1.
|
2006-12-16 22:37:59 -05:00
|
|
|
|
|
|
|
Bug Fixes
|
2006-12-19 12:08:17 -05:00
|
|
|
1. SOLR-87: Parsing of synonym files did not correctly handle escaped
|
|
|
|
whitespace such as \r\n\t\b\f. (yonik)
|
2007-01-16 13:26:14 -05:00
|
|
|
|
2006-12-23 20:10:00 -05:00
|
|
|
2. SOLR-92: DOMUtils.getText (used when parsing config files) did not
|
|
|
|
work properly with many DOM implementations when dealing with
|
|
|
|
"Attributes". (Ryan McKinley via hossman)
|
2007-01-16 13:26:14 -05:00
|
|
|
|
2007-01-12 17:48:44 -05:00
|
|
|
3. SOLR-9,SOLR-99: Tighten up sort specification error checking, throw
|
|
|
|
exceptions for missing sort specifications or a sort on a non-indexed
|
|
|
|
field. (Ryan McKinley via yonik)
|
2006-12-19 12:08:17 -05:00
|
|
|
|
2006-12-16 22:37:59 -05:00
|
|
|
Other Changes
|
2006-12-19 12:08:17 -05:00
|
|
|
1.
|
2006-12-16 22:37:59 -05:00
|
|
|
|
2007-01-05 15:12:18 -05:00
|
|
|
================== Release 1.1.0, 20061222 ==================
|
2006-12-14 00:48:58 -05:00
|
|
|
|
|
|
|
Status
|
|
|
|
------
|
|
|
|
This is the first release since Solr joined the Incubator, and brings many
|
|
|
|
new features and performance optimizations including highlighting,
|
|
|
|
faceted browsing, and JSON/Python/Ruby response formats.
|
|
|
|
|
|
|
|
|
|
|
|
Upgrading from previous Solr versions
|
|
|
|
-------------------------------------
|
|
|
|
Older Apache Solr installations can be upgraded by replacing
|
2006-12-14 13:15:08 -05:00
|
|
|
the relevant war file with the new version. No changes to configuration
|
|
|
|
files are needed and the index format has not changed.
|
2006-12-14 00:48:58 -05:00
|
|
|
|
2006-12-14 13:15:08 -05:00
|
|
|
The default version of the Solr XML response syntax has been changed to 2.2.
|
|
|
|
Behavior can be preserved for those clients not explicitly specifying a
|
|
|
|
version by adding a default to the request handler in solrconfig.xml
|
2006-12-14 00:48:58 -05:00
|
|
|
|
|
|
|
By default, Solr will no longer use a searcher that has not fully warmed,
|
|
|
|
and requests will block in the meantime. To change back to the previous
|
|
|
|
behavior of using a cold searcher in the event there is no other
|
|
|
|
warm searcher, see the useColdSearcher config item in solrconfig.xml
|
|
|
|
|
|
|
|
The XML response format when adding multiple documents to the collection
|
|
|
|
in a single <add> command has changed to return a single <result>.
|
|
|
|
|
|
|
|
|
|
|
|
Detailed Change List
|
|
|
|
--------------------
|
2006-12-01 11:35:42 -05:00
|
|
|
|
2006-04-03 15:04:45 -04:00
|
|
|
New Features
|
|
|
|
1. added support for setting Lucene's positionIncrementGap
|
|
|
|
2. Admin: new statistics for SolrIndexSearcher
|
|
|
|
3. Admin: caches now show config params on stats page
|
2006-09-13 14:17:21 -04:00
|
|
|
3. max() function added to FunctionQuery suite
|
2006-04-03 15:04:45 -04:00
|
|
|
4. postOptimize hook, mirroring the functionallity of the postCommit hook,
|
|
|
|
but only called on an index optimize.
|
2006-04-07 16:06:15 -04:00
|
|
|
5. Ability to HTTP POST query requests to /select in addition to HTTP-GET
|
2006-05-19 16:55:15 -04:00
|
|
|
6. The default search field may now be overridden by requests to the
|
|
|
|
standard request handler using the df query parameter. (Erik Hatcher)
|
2006-05-23 16:53:57 -04:00
|
|
|
7. Added DisMaxRequestHandler and SolrPluginUtils. (Chris Hostetter)
|
2006-05-26 01:44:02 -04:00
|
|
|
8. Support for customizing the QueryResponseWriter per request
|
|
|
|
(Mike Baranczak / SOLR-16 / hossman)
|
2006-06-05 14:20:13 -04:00
|
|
|
9. Added KeywordTokenizerFactory (hossman)
|
2006-06-06 14:53:04 -04:00
|
|
|
10. copyField accepts dynamicfield-like names as the source.
|
|
|
|
(Darren Erik Vengroff via yonik, SOLR-21)
|
2006-06-10 22:18:38 -04:00
|
|
|
11. new DocSet.andNot(), DocSet.andNotSize() (yonik)
|
2006-07-13 14:22:24 -04:00
|
|
|
12. Ability to store term vectors for fields. (Mike Klaas via yonik, SOLR-23)
|
2006-07-06 01:39:04 -04:00
|
|
|
13. New abstract BufferedTokenStream for people who want to write
|
|
|
|
Tokenizers or TokenFilters that require arbitrary buffering of the
|
2006-09-13 14:17:21 -04:00
|
|
|
stream. (SOLR-11 / yonik, hossman)
|
2006-07-06 01:39:04 -04:00
|
|
|
14. New RemoveDuplicatesToken - useful in situations where
|
|
|
|
synonyms, stemming, or word-deliminater-ing produce identical tokens at
|
|
|
|
the same position. (SOLR-11 / yonik, hossman)
|
2006-07-13 14:22:24 -04:00
|
|
|
15. Added highlighting to SolrPluginUtils and implemented in StandardRequestHandler
|
|
|
|
and DisMaxRequestHandler (SOLR-24 / Mike Klaas via hossman,yonik)
|
2006-07-17 11:17:53 -04:00
|
|
|
16. SnowballPorterFilterFactory language is configurable via the "language"
|
|
|
|
attribute, with the default being "English". (Bertrand Delacretaz via yonik, SOLR-27)
|
2006-07-17 12:16:56 -04:00
|
|
|
17. ISOLatin1AccentFilterFactory, instantiates ISOLatin1AccentFilter to remove accents.
|
|
|
|
(Bertrand Delacretaz via yonik, SOLR-28)
|
2006-07-18 14:35:53 -04:00
|
|
|
18. JSON, Python, Ruby QueryResponseWriters: use wt="json", "python" or "ruby"
|
|
|
|
(yonik, SOLR-31)
|
2006-07-19 14:52:03 -04:00
|
|
|
19. Make web admin pages return UTF-8, change Content-type declaration to include a
|
|
|
|
space between the mime-type and charset (Philip Jacob, SOLR-35)
|
2006-07-24 09:00:46 -04:00
|
|
|
20. Made query parser default operator configurable via schema.xml:
|
|
|
|
<solrQueryParser defaultOperator="AND|OR"/>
|
|
|
|
The default operator remains "OR".
|
2006-07-25 20:34:14 -04:00
|
|
|
21. JAVA API: new version of SolrIndexSearcher.getDocListAndSet() which takes
|
|
|
|
flags (Greg Ludington via yonik, SOLR-39)
|
2006-08-03 16:19:45 -04:00
|
|
|
22. A HyphenatedWordsFilter, a text analysis filter used during indexing to rejoin
|
|
|
|
words that were hyphenated and split by a newline. (Boris Vitez via yonik, SOLR-41)
|
2006-09-06 15:11:29 -04:00
|
|
|
23. Added a CompressableField base class which allows fields of derived types to
|
|
|
|
be compressed using the compress=true setting. The field type also gains the
|
|
|
|
ability to specify a size threshold at which field data is compressed.
|
|
|
|
(klaas, SOLR-45)
|
2006-09-07 14:55:14 -04:00
|
|
|
24. Simple faceted search support for fields (enumerating terms)
|
|
|
|
and arbitrary queries added to both StandardRequestHandler and
|
|
|
|
DisMaxRequestHandler. (hossman, SOLR-44)
|
2006-09-12 18:50:06 -04:00
|
|
|
25. In addition to specifying default RequestHandler params in the
|
|
|
|
solrconfig.xml, support has been added for configuring values to be
|
|
|
|
appended to the multi-val request params, as well as for configuring
|
|
|
|
invariant params that can not overridden in the query. (hossman, SOLR-46)
|
2006-09-13 14:17:21 -04:00
|
|
|
26. Default operator for query parsing can now be specified with q.op=AND|OR
|
|
|
|
from the client request, overriding the schema value. (ehatcher)
|
2006-10-18 13:53:08 -04:00
|
|
|
27. New XSLTResponseWriter does server side XSLT processing of XML Response.
|
|
|
|
In the process, an init(NamedList) method was added to QueryResponseWriter
|
|
|
|
which works the same way as SolrRequestHandler.
|
|
|
|
(Bertrand Delacretaz / SOLR-49 / hossman)
|
2006-10-18 16:58:27 -04:00
|
|
|
28. json.wrf parameter adds a wrapper-function around the JSON response,
|
|
|
|
useful in AJAX with dynamic script tags for specifying a JavaScript
|
|
|
|
callback function. (Bertrand Delacretaz via yonik, SOLR-56)
|
2006-11-08 19:43:54 -05:00
|
|
|
29. autoCommit can be specified every so many documents added (klaas, SOLR-65)
|
2006-11-13 21:05:32 -05:00
|
|
|
30. ${solr.home}/lib directory can now be used for specifying "plugin" jars
|
|
|
|
(hossman, SOLR-68)
|
2006-11-20 20:55:05 -05:00
|
|
|
31. Support for "Date Math" relative "NOW" when specifying values of a
|
|
|
|
DateField in a query -- or when adding a document.
|
|
|
|
(hossman, SOLR-71)
|
2006-12-05 22:25:43 -05:00
|
|
|
32. useColdSearcher control in solrconfig.xml prevents the first searcher
|
|
|
|
from being used before it's done warming. This can help prevent
|
|
|
|
thrashing on startup when multiple requests hit a cold searcher.
|
|
|
|
The default is "false", preventing use before warm. (yonik, SOLR-77)
|
2006-11-20 20:55:05 -05:00
|
|
|
|
2006-04-03 15:04:45 -04:00
|
|
|
Changes in runtime behavior
|
|
|
|
1. classes reorganized into different packages, package names changed to Apache
|
|
|
|
2. force read of document stored fields in QuerySenderListener
|
|
|
|
3. Solr now looks in ./solr/conf for config, ./solr/data for data
|
|
|
|
configurable via solr.solr.home system property
|
2006-09-01 15:26:31 -04:00
|
|
|
4. Highlighter params changed to be prefixed with "hl."; allow fragmentsize
|
|
|
|
customization and per-field overrides on many options
|
|
|
|
(Andrew May via klaas, SOLR-37)
|
2006-09-06 15:29:08 -04:00
|
|
|
5. Default param values for DisMaxRequestHandler should now be specified
|
|
|
|
using a '<lst name="defaults">...</lst>' init param, for backwards
|
|
|
|
compatability all init prams will be used as defaults if an init param
|
|
|
|
with that name does not exist. (hossman, SOLR-43)
|
2006-09-07 14:55:14 -04:00
|
|
|
6. The DisMaxRequestHandler now supports multiple occurances of the "fq"
|
|
|
|
param. (hossman, SOLR-44)
|
2006-10-04 14:53:06 -04:00
|
|
|
7. FunctionQuery.explain now uses ComplexExplanation to provide more
|
|
|
|
accurate score explanations when composed in a BooleanQuery.
|
|
|
|
(hossman, SOLR-25)
|
2006-11-08 19:43:54 -05:00
|
|
|
8. Document update handling locking is much sparser, allowing performance gains
|
|
|
|
through multiple threads. Large commits also might be faster (klaas, SOLR-65)
|
2006-11-27 17:40:21 -05:00
|
|
|
9. Lazy field loading can be enabled via a solrconfig directive. This will be faster when
|
|
|
|
not all stored fields are needed from a document (klaas, SOLR-52)
|
2006-12-12 17:24:47 -05:00
|
|
|
10. Made admin JSPs return XML and transform them with new XSL stylesheets
|
|
|
|
(Otis Gospodnetic, SOLR-58)
|
2006-12-14 08:20:15 -05:00
|
|
|
11. If the "echoParams=explicit" request parameter is set, request parameters are copied
|
|
|
|
to the output. In an XML output, they appear in new <lst name="params"> list inside
|
|
|
|
the new <lst name="responseHeader"> element, which replaces the old <responseHeader>.
|
|
|
|
Adding a version=2.1 parameter to the request produces the old format, for backwards
|
|
|
|
compatibility (bdelacretaz and yonik, SOLR-59).
|
2006-04-03 15:04:45 -04:00
|
|
|
|
|
|
|
Optimizations
|
|
|
|
1. getDocListAndSet can now generate both a DocList and a DocSet from a
|
|
|
|
single lucene query.
|
|
|
|
2. BitDocSet.intersectionSize(HashDocSet) no longer generates an intermediate
|
|
|
|
set
|
2006-06-10 12:05:12 -04:00
|
|
|
3. OpenBitSet completed, replaces BitSet as the implementation for BitDocSet.
|
2006-06-10 21:15:47 -04:00
|
|
|
Iteration is faster, and BitDocSet.intersectionSize(BitDocSet) and unionSize
|
2006-06-10 12:05:12 -04:00
|
|
|
is between 3 and 4 times faster. (yonik, SOLR-15)
|
2006-06-10 21:15:47 -04:00
|
|
|
4. much faster unionSize when one of the sets is a HashDocSet: O(smaller_set_size)
|
2006-09-13 16:55:46 -04:00
|
|
|
5. Optimized getDocSet() for term queries resulting in a 36% speedup of facet.field
|
|
|
|
queries where DocSets aren't cached (for example, if the number of terms in the field
|
|
|
|
is larger than the filter cache.) (yonik)
|
2006-09-21 17:37:36 -04:00
|
|
|
6. Optimized facet.field faceting by as much as 500 times when the field has
|
|
|
|
a single token per document (not multiValued & not tokenized) by using the
|
|
|
|
Lucene FieldCache entry for that field to tally term counts. The first request
|
|
|
|
utilizing the FieldCache will take longer than subsequent ones.
|
2006-04-03 15:04:45 -04:00
|
|
|
|
2006-04-18 17:09:38 -04:00
|
|
|
Bug Fixes
|
|
|
|
1. Fixed delete-by-id for field types who's indexed form is different
|
|
|
|
from the printable form (mainly sortable numeric types).
|
2006-05-19 16:55:15 -04:00
|
|
|
2. Added escaping of attribute values in the XML response (Erik Hatcher)
|
|
|
|
3. Added empty extractTerms() to FunctionQuery to enable use in
|
|
|
|
a MultiSearcher (Yonik)
|
2006-07-05 15:36:08 -04:00
|
|
|
4. WordDelimiterFilter sometimes lost token positionIncrement information
|
2006-07-15 15:29:43 -04:00
|
|
|
5. Fix reverse sorting for fields were sortMissingFirst=true
|
|
|
|
(Rob Staveley, yonik)
|
2006-07-18 14:35:53 -04:00
|
|
|
6. Worked around a Jetty bug that caused invalid XML responses for fields
|
2006-07-17 13:29:50 -04:00
|
|
|
containing non ASCII chars. (Bertrand Delacretaz via yonik, SOLR-32)
|
2006-07-18 16:35:17 -04:00
|
|
|
7. WordDelimiterFilter can throw exceptions if configured with both
|
|
|
|
generate and catenate off. (Mike Klaas via yonik, SOLR-34)
|
2006-08-01 11:00:39 -04:00
|
|
|
8. Escape '>' in XML output (because ]]> is illegal in CharData)
|
2006-11-03 18:44:11 -05:00
|
|
|
9. field boosts weren't being applied and doc boosts were being applied to fields (klaas)
|
2006-11-08 19:43:54 -05:00
|
|
|
10. Multiple-doc update generates well-formed xml (klaas, SOLR-65)
|
2006-12-13 19:15:45 -05:00
|
|
|
11. Better parsing of pingQuery from solrconfig.xml (hossman, SOLR-70)
|
2006-12-13 19:30:34 -05:00
|
|
|
12. Fixed bug with "Distribution" page introduced when Versions were
|
|
|
|
added to "Info" page (hossman)
|
2006-12-16 03:38:09 -05:00
|
|
|
13. Fixed HTML escaping issues with user input to analysis.jsp and action.jsp
|
|
|
|
(hossman, SOLR-74)
|
2006-07-17 13:29:50 -04:00
|
|
|
|
2006-06-21 22:53:52 -04:00
|
|
|
Other Changes
|
|
|
|
1. Upgrade to Lucene 2.0 nightly build 2006-06-22, lucene SVN revision 416224,
|
|
|
|
http://svn.apache.org/viewvc/lucene/java/trunk/CHANGES.txt?view=markup&pathrev=416224
|
2006-07-11 08:20:46 -04:00
|
|
|
2. Modified admin styles to improve display in Internet Explorer (Greg Ludington via billa, SOLR-6)
|
2006-07-15 20:39:20 -04:00
|
|
|
3. Upgrade to Lucene 2.0 nightly build 2006-07-15, lucene SVN revision 422302,
|
2006-07-18 08:53:58 -04:00
|
|
|
4. Included unique key field name/value (if available) in log message of add (billa, SOLR-18)
|
2006-11-17 10:59:32 -05:00
|
|
|
5. Updated to Lucene 2.0 nightly build 2006-09-07, SVN revision 462111
|
2006-09-19 08:36:17 -04:00
|
|
|
6. Added javascript to catch empty query in admin query forms (Tomislav Nakic-Alfirevic via billa, SOLR-48
|
2006-11-03 14:01:31 -05:00
|
|
|
7. blackslash escape * in ssh command used in snappuller for zsh compatibility, SOLR-63
|
2006-11-07 11:07:57 -05:00
|
|
|
8. check solr return code in admin scripts, SOLR-62
|
2006-11-17 10:59:32 -05:00
|
|
|
9. Updated to Lucene 2.0 nightly build 2006-11-15, SVN revision 475069
|
2006-11-29 13:58:27 -05:00
|
|
|
10. Removed src/apps containing the legacy "SolrTest" app (hossman, SOLR-3)
|
2006-11-30 19:16:46 -05:00
|
|
|
11. Simplified index.jsp and form.jsp, primarily by removing/hiding XML
|
|
|
|
specific params, and adding an option to pick the output type. (hossman)
|
2006-12-05 02:34:22 -05:00
|
|
|
12. Added new numeric build property "specversion" to allow clean
|
|
|
|
MANIFEST.MF files (hossman)
|
2006-12-08 03:01:51 -05:00
|
|
|
13. Added Solr/Lucene versions to "Info" page (hossman)
|
2006-12-11 15:30:02 -05:00
|
|
|
14. Explicitly set mime-type of .xsl files in web.xml to
|
|
|
|
application/xslt+xml (hossman)
|
2006-12-14 22:32:28 -05:00
|
|
|
15. Config parsing should now work useing DOM Level 2 parsers -- Solr
|
|
|
|
previously relied on getTextContent which is a DOM Level 3 addition
|
|
|
|
(Alexander Saar via hossman, SOLR-78)
|
2006-04-03 15:04:45 -04:00
|
|
|
|
2006-05-23 16:01:47 -04:00
|
|
|
2006/01/17 Solr open sourced, moves to Apache Incubator
|