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.
是否可以像这样创建结构索引:
localhost:9200/shopname/products/product
其中“shopname/products”是复合索引,“product”是类型?谢谢!
不可能创建带有斜杠的索引,因为不会触发正确的 URL 处理程序。
我不认为你在这里真的需要它。您可以在索引上使用前缀,例如shopname-products/product/1234,或者只是将 shopname 的相关数据与shopname/products/1234.
shopname-products/product/1234
shopname/products/1234