set token type
This commit is contained in:
parent
25540c736a
commit
dd36f916c4
|
@ -42,6 +42,7 @@ func (t *TextField) Analyze() (int, analysis.TokenFrequencies) {
|
|||
End: len(t.value),
|
||||
Term: t.value,
|
||||
Position: 1,
|
||||
Type: analysis.AlphaNumeric,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue