Matt Chaput avatar Matt Chaput committed 5d1064c

Updated release notes, bumped version number to 2.3.0.

Comments (0)

Files changed (2)

docs/source/releases/2_0.rst

   functionality right now; I'm trying to think of ways to make its power easier
   to access.
 
+* The documents in the lists in the dictionary returned by ``Results.groups()``
+  by default are now in the same relative order as in the results. This makes
+  it much easier to display the "top N" results in each category, for example.
+
+* The ``groupids`` keyword argument to ``Searcher.search`` has been removed.
+  Instead you can now pass a :class:`whoosh.sorting.FacetMap` object to the
+  ``Searcher.search`` method's ``maptype`` argument to control how faceted
+  documents are grouped, and/or set the ``maptype`` argument on individual
+  :class:`whoosh.sorting.FacetType`` objects to set custom grouping per facet.
+  See :doc:`../facets` for more information.
+
+* Calling ``Searcher.documents()`` or ``Searcher.document_numbers()`` with no
+  arguments now yields all documents/numbers.
+
+* Calling ``Writer.update_document()`` with no unique fields is now equivalent
+  to calling ``Writer.add_document()`` with the same arguments.
+
+* Fixed a problem with keyword expansion where the code was building a cache
+  that was fast on small indexes, but unacceptably slow on large indexes.
+
+* Added the hyphen (``-``) to the list of characters that match a "wildcard"
+  token, to make parsing slightly more predictable. A true fix will have to
+  wait for another parser rewrite.
+
+* Fixed an unused ``__future__`` import and use of ``float("nan")`` which were
+  breaking under Python 2.5.
+
+* Fixed a bug where vectored fields with only one term stored an empty term
+  vector.
+
+* Various other bug fixes.
 
 Whoosh 2.2
 ==========

src/whoosh/__init__.py

 # those of the authors and should not be interpreted as representing official
 # policies, either expressed or implied, of Matt Chaput.
 
-__version__ = (2, 2, 2)
+__version__ = (2, 3, 0)
 
 
 def versionstring(build=True, extra=True):
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.