Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.hibernate.search.filter
Class FilterOptimizationHelper

    java.lang.Object
      org.hibernate.search.filter.FilterOptimizationHelper

    public class FilterOptimizationHelper

extends java.lang.Object

Helper class to apply some common optimizations when several Filters are applied.

Author:
  Sanne Grinovero

Constructor Summary
`FilterOptimizationHelper()`

Method Summary
`static java.util.List<org.apache.lucene.search.DocIdSet>` | `mergeByBitAnds(java.util.List<org.apache.lucene.search.DocIdSet> docIdSets)` Returns a new list of DocIdSet, applying binary AND on all DocIdSet implemented by using BitSet or OpenBitSet.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### FilterOptimizationHelper

    public FilterOptimizationHelper()

Method Detail

### mergeByBitAnds

    public static java.util.List<org.apache.lucene.search.DocIdSet> mergeByBitAnds(java.util.List<org.apache.lucene.search.DocIdSet> docIdSets)

  Returns a new list of DocIdSet, applying binary AND on all DocIdSet implemented by using BitSet or OpenBitSet.

  Parameters:
    `docIdSets` -
  Returns:
    the same list if no changes were done

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006-2010 Hibernate. All Rights Reserved.