Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以在 SOLR 的 DIH 文件中设置字段的值?我不想检索数据库字段的值,而是想要一个计算值。
根据什么计算?如果它是其他 db 列值,这很容易,但它更像是一个 sql,而不是 Solr 问题:
SELECT a,b, (a+b) AS calculated FROM thetable