title: How to exclude sub type in the hybris flexible search
body: <p>In hybris, I have Created <strong>ArchivalOrderModel</strong> extends <strong>orderModel</strong></p>
  
  <p>Moved Data from OrderModel To ArchivalOrderModel. (Deleted Record from OrderModel)</p>
  
  <p>When I fired query </p>
  
  <pre><code>select {pk} from {order}
  </code></pre>
  
  <p>In result Im getting Records of ArchivalOrderModel too.</p>
  
  <p>Is there any way to restrict with help of data Modeling definition or Any other suggestion for archival</p>