Ejemplo n.º 1
0
def makeCaseSensitiveFieldIndex(indexName):
    index = FieldIndex(indexName)
    index.TermType = 'ustring'
    return index
Ejemplo n.º 2
0
def makeCaseSensitiveFieldIndex(indexName):
    index = FieldIndex(indexName)
    index.TermType = 'ustring'
    return index
Ejemplo n.º 3
0
def makeCaseInsensitiveFieldIndex(indexName, termType='ustring'):
    index = FieldIndex(indexName)
    index.PrenormalizeTerm = 'value/lower'
    index.TermType = termType
    return index
Ejemplo n.º 4
0
def makeCaseInsensitiveFieldIndex(indexName, termType='ustring'):
    index = FieldIndex(indexName)
    index.PrenormalizeTerm = 'value/lower'
    index.TermType = termType
    return index