I have a TextLine-Field on some Contenttypes called "referencenumber" and a Catalog FieldIndex "referencenumber", the referencenumber is cataloged.
If a search is performed "Search referencenumber 3202", I get only results for the Fullnumber, not for partial pieces.
IndexType: FieldIndex
The following queries are ok:
{
"query": [
{
"i": "referencenumber",
"o": "plone.app.querystring.operation.string.contains",
"v": "3202"
}
]
}
{
"query": [
{
"i": "referencenumber",
"o": "plone.app.querystring.operation.string.is",
"v": "3202"
}
]
}
These queries return nothing from Catalog:
{
"query": [
{
"i": "referencenumber",
"o": "plone.app.querystring.operation.string.contains",
"v": "320"
}
]
}
{
"query": [
{
"i": "referencenumber",
"o": "plone.app.querystring.operation.string.contains",
"v": "320*"
}
]
}
For this test i put the referencenumber in the description field.
For IndexType ZCTextIndex
the query returns a result
{
"query": [
{
"i": "Description",
"o": "plone.app.querystring.operation.string.contains",
"v": "320*"
}
]
}
I guess the IndexType is the Problem, does anyone know more between the relation of plone.app.querystring.operations and the Indextype of Catalog?