 CREATE INDEX idx__facts_is_token__:id
   ON facts_:id
   USING btree
-  (is_token, corpus_ref, text_ref)
+  (is_token)
   WITH (FILLFACTOR=100);
 
 CREATE INDEX idx__facts_left__:id

CREATE INDEX idx__facts_node_annotext__:id
  ON facts_:id
  USING btree
  (node_annotext varchar_pattern_ops, corpus_ref)
  WITH (FILLFACTOR=100);

CREATE INDEX idx__facts__q_node_qannotext__:id
  ON facts_:id
  USING btree
  (node_qannotext varchar_pattern_ops, corpus_ref)
  WITH (FILLFACTOR=100);

CREATE INDEX idx__facts_node_name__:id
  ON facts_:id
  USING btree
  (node_name varchar_pattern_ops, corpus_ref)
  WITH (FILLFACTOR=100);

CREATE INDEX idx__facts_node_namespace__:id
  ON facts_:id
  USING btree
  (node_namespace varchar_pattern_ops, corpus_ref)
  WITH (FILLFACTOR=100);

CREATE INDEX idx__facts_right__:id

CREATE INDEX idx__facts_root__:id
  ON facts_:id
  USING btree
  (root)
  WITH (FILLFACTOR=100);

CREATE INDEX idx__facts_seg_name_index__:id
  ON facts_:id
  USING btree
  (seg_name, corpus_ref, text_ref)
  WITH (FILLFACTOR=100);

CREATE INDEX idx__facts_seg_index_index__:id
  ON facts_:id
  USING btree
  (seg_index, corpus_ref, text_ref)
  WITH (FILLFACTOR=100);

CREATE INDEX idx__facts_span__:id
  ON facts_:id
  USING btree
  (span varchar_pattern_ops)
  WITH (FILLFACTOR=100);

CREATE INDEX idx__facts_token_index__:id
