Query too slow against fulltext index

Hi, I have a question:

I built a full-text index based on the description of the document, but the query was not very fast:
I have 4 million records in dgraph v1.0.9-release ,and I built a fulltext on ‘company_name’ field, and i run the command :

{
   query(func:anyoftext(company_name, "北京万科"),first:5) {
	 name:company_name
	 rid:uid
  }
}

it used 345 second, it’s too slow. anyone know the reason?

machine: CentOS7 , 8 cores, 32 Mem.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.