Crawler ID

(from github.com/Anders-Bergqvist)
Is there a way to make a search (via search api) that only shows results from a specific crawler ID?

(from github.com/marevol)
What is the crawler ID?
Is it segment or config_id?

(from github.com/Anders-Bergqvist)
Im thinking this ID:

image

(from github.com/marevol)
You can use config_id which contains W_ as a prefix.

(from github.com/Anders-Bergqvist)
I’ve tried:
/json/?q=tomato&w_config_id:Kk19nWcBl7pLpXFKcN5E

and It does not work. What do I do wrong?

(from marevol (Shinsuke Sugaya) · GitHub)

/json/?q=tomato&w_config_id:Kk19nWcBl7pLpXFKcN5E

The above query is invalid.
It may be q=tomato+w_config_id:Kk19nWcBl7pLpXFKcN5E, and also see query.additional.search.fields in fess_config.properties.

(from github.com/Anders-Bergqvist)
Aha, so in fess_config.properties
query.additional.search.fields=config_id

and in doc.json

"config_id": {
   "type": "keyword"
}

Do I have to put something in Config Parameters in the crawler also?