Skip to content

How to manipulate CURD using JSON? #51

Closed
@itmeicn

Description

@itmeicn
  $builder=new \MacFJA\RediSearch\IndexBuilder();
            $res=$builder->setIndex($this->name.'Idx')->setStructure('JSON')->addPrefixes($this->name.':')
                ->setDefaultLanguage('chinese')
                ->addJSONTagField('id','id',null,true)
                ->addJSONTextField('userid','userid',false,10,null,true)
                ->create($this->clientPhprearch);

is error:
Missing command option: fields

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions