You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Xikui Wang (Jira)" <ji...@apache.org> on 2020/09/08 01:18:00 UTC
[jira] [Created] (ASTERIXDB-2775) Inverted Index cannot be created
on a dataset with primary key on meta part
Xikui Wang created ASTERIXDB-2775:
-------------------------------------
Summary: Inverted Index cannot be created on a dataset with primary key on meta part
Key: ASTERIXDB-2775
URL: https://issues.apache.org/jira/browse/ASTERIXDB-2775
Project: Apache AsterixDB
Issue Type: Bug
Reporter: Xikui Wang
Returns NPE
{code}
drop dataverse KeyVerse if exists;
create dataverse KeyVerse;
use KeyVerse;
create type DocumentType as open{
location: point,
area_code: string,
text: string
};
create type KVMetaType as open{
`key`:string,
vbucket:int32,
seq:int64,
cas:int64,
expiration:int32,
flags:int32,
revSeq:int64,
lockTime:int32
};
create dataset KVStore(DocumentType) with meta(KVMetaType) primary key meta().`key` with filter on meta().seq;
CREATE INDEX text_idx ON KVStore(text) type fulltext;
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)