|
[
Permlink
| « Hide
]
Shay Banon added a comment - 26/Jul/06 08:47 AM
You don't have to specify meta-data for an id mapping. And if you specify one, it won't necessarily have to be store="yes" index="un_tokenized", you might want to have a tokenized meta-data for it as well. Compass will identify it, and will create an internal meta-data for it in such a case (the same reason why it creates one when there is no meta-data).
Any comments about this, or can I close this?
Last chance to comment on this one before I close it.
The store and index attribute may be ommitted, but the meta tag must not be empty:
Does not work and throws a NPE <contract alias="MyClass"> <id name="id"> <meta-data store="yes" index="un_tokenized"></meta-data> </id> </contract> Is ok: |
|||||||||||||||||||||||||||||||||||||||