Ignore:
Timestamp:
13 Nov 2014, 14:40:27 (10 years ago)
Author:
Henrik Bettermann
Message:

Change of name.

Location:
main/waeup.kofa/branches/henrik-regista/src/waeup/ikoba
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/branches/henrik-regista/src/waeup/ikoba/catalog.txt

    r7819 r11949  
    1 :mod:`waeup.kofa.catalog` -- Cataloging support Kofa
     1:mod:`waeup.ikoba.catalog` -- Cataloging support Ikoba
    22****************************************************
    33
    4 .. module:: waeup.kofa.catalog
     4.. module:: waeup.ikoba.catalog
    55
    66Components that support cataloging and searching objects inside a
    7 Kofa site.
     7Ikoba site.
    88
    99.. :doctest:
    10 .. :layer: waeup.kofa.testing.KofaUnitTestLayer
     10.. :layer: waeup.ikoba.testing.IkobaUnitTestLayer
    1111
    1212.. contents::
     
    1515=======
    1616
    17 :class:`KofaQuery`
     17:class:`IkobaQuery`
    1818------------------
    1919
    20 .. class:: KofaQuery()
     20.. class:: IkobaQuery()
    2121
    2222   .. attribute:: grok.implements(hurry.query.interfaces.IQuery)
     
    2525   retrival of plain ``Bree`` result sets as used inside a catalog.
    2626
    27    Like `hurry.query.query.Query` objects, `KofaQuery` is some kind
     27   Like `hurry.query.query.Query` objects, `IkobaQuery` is some kind
    2828   of a meta query or 'compound query' that can give the cataloged
    2929   objects (or their int ids) matching one or more 'subqueries'.
     
    5555------------------------------
    5656
    57 We can get a KofaQuery object by asking for an unnamed global utility
     57We can get a IkobaQuery object by asking for an unnamed global utility
    5858implementing `hurry.query.interfaces.IQuery`:
    5959
     
    6262    >>> q = getUtility(IQuery)
    6363    >>> q
    64     <waeup.kofa.catalog.KofaQuery object at 0x...>
     64    <waeup.ikoba.catalog.IkobaQuery object at 0x...>
    6565
    6666This query can get 'subqueries' and delivers the objects found or
     
    101101
    102102We also setup a `zope.intid.interfaces.IIntIds` utility. This is not
    103 necessary for plain catalogs, but when we want to use KofaQuery (or
     103necessary for plain catalogs, but when we want to use IkobaQuery (or
    104104`hurry.query.query.Query` objects), as to get a unique mapping from
    105105objects (stored in ZODB) to integer numbers (stored in catalogs),
     
    204204
    205205This can be done by using the ``searchResults`` method of
    206 ``KofaQuery``:
     206``IkobaQuery``:
    207207
    208208    >>> r2 = q.searchResults(subquery1)
Note: See TracChangeset for help on using the changeset viewer.