rhbz882770 - refactor to use DocumentId instead of Long
rhbz882770 - refactor FilterConstraintToQuery to share code
rhbz882770 - editor filter accepts all conditions(no filter)
rhbz882770 - separate search and other conditions to fix a bug