I am dealing with a problem with the FTS, i searched in the DOCS was not really clear and didn’t found anything in the Forum neither.
I think is just a configuration from FTS.XML issue but im doing something wrong.
I have two Entities Vehicle and VehicleTest.
VehicleTest has a one to many relationship with vehicle.
When i search per a property of vehicle let says the BRAND or a PrivateVehicleKey, i want to have as result the Vehicles that fulfill that criteria and all the VehicleTest which have vehicles that fulfill this criteria.
My fts.xml for this two entities look like this:
<entity class="com.example.project.vehiclemanagement.entity.Vehicle"> <include re=".*"/> <include name="brand"/> </entity>
<entity class="com.example.project.testmanagement.entity.VehicleTest"> <include re=".*"/> <include name="vehicle" /> </entity>
Maybe in Vehicle the include name Brand is redundant but i was just trying stuff to have this work.
I hope i was clear.
Thank you in advance.