malteseduck / spring-data-marklogic

An implementation of the Spring Data interfaces for the MarkLogic NoSQL database
Apache License 2.0
7 stars 9 forks source link

@Word criteria being built without "wildcarded" option #46

Open malteseduck opened 6 years ago

malteseduck commented 6 years ago

The word query is being built with wildcards:

<word-query>
  <json-property>organizations</json-property>
  <text>*text*</text>
  <weight>1.0</weight>
</word-query>

but doesn't specify the "wildcarded" option, so unless an index is configured it doesn't match.