You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by world hello <it...@outlook.com> on 2013/05/23 21:34:19 UTC
multivalued field FieldCache
how can I retrieve the value out of a multivalued field in a customized function query?
I used the code but get exceptions - "can not use FieldCache on multivalued field"
////////////////////////////////////////////////////////////////////////////////////
public ValueSource parse(FunctionQParser fp) throws ParseException {
try {
ValueSource vs = fp.parseValueSource();
}
catch (...)
{
}
}/////////////////////////////////////////////////////////////////////////
Thanks.
-Frank