Add prefix translation for "mtype". Allows using term expansion to retrieve all the types from the index
This commit is contained in:
parent
27430403e2
commit
607d3cc27b
@ -141,6 +141,7 @@ static void initFldToTraits()
|
|||||||
fldToTraits["xapyear"] = FieldTraits("Y");
|
fldToTraits["xapyear"] = FieldTraits("Y");
|
||||||
fldToTraits["xapyearmon"] = FieldTraits("M");
|
fldToTraits["xapyearmon"] = FieldTraits("M");
|
||||||
fldToTraits["xapdate"] = FieldTraits("D");
|
fldToTraits["xapdate"] = FieldTraits("D");
|
||||||
|
fldToTraits[Doc::keytp] = FieldTraits("T");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Compute the unique term used to link documents to their origin.
|
// Compute the unique term used to link documents to their origin.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user