solr导入了多个entity,如何指定一个entity查询全部呢?
经过资讯, 查到了这个
If you have defined an Entity for each table as well as a Combined one, you can add an identifier to each of the entity and use that identifier to filter the results.
e.g.
Add a field type to each entity with fixed values as PERSON, LOCATION CITY ....
And for queries use fq=type:PERSON to filter the results for the specific entity.
但是如何给entity添加字段,并添加固定值没搞明白,请问该怎样添加字段跟固定值呢?