Commit 9892eae5 authored by Guido van Rossum's avatar Guido van Rossum

Renamed Index.py to CosineIndex.py

parent 9e244224
......@@ -15,7 +15,7 @@
from unittest import TestCase, TestSuite, main, makeSuite
from Products.ZCTextIndex.Lexicon import Lexicon, Splitter
from Products.ZCTextIndex.Index import Index as CosineIndex
from Products.ZCTextIndex.CosineIndex import Index as CosineIndex
from Products.ZCTextIndex.OkapiIndex import Index as OkapiIndex
# The cosine and Okapi indices have the same public interfaces, but these
......
from Products.ZCTextIndex.ZCTextIndex import ZCTextIndex
from Products.ZCTextIndex.tests \
import testIndex, testQueryEngine, testQueryParser
from Products.ZCTextIndex.Index import scaled_int, SCALE_FACTOR
from Products.ZCTextIndex.Index import Index as CosineIndex
from Products.ZCTextIndex.CosineIndex import scaled_int, SCALE_FACTOR
from Products.ZCTextIndex.CosineIndex import Index as CosineIndex
from Products.ZCTextIndex.OkapiIndex import Index as OkapiIndex
from Products.ZCTextIndex.Lexicon import Lexicon, Splitter
from Products.ZCTextIndex.Lexicon import CaseNormalizer, StopWordRemover
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment