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.
我想编写根据其他 InputSolrDocument 字段表现不同的 TokenFilter。我试图通过 ThreadLocal 和 InputProcessor 来实现这一点,但它们在不同的线程中运行......
不,您不能这样做,例如,请参见此处的讨论。您可以尝试使用 UpdateProcessor