Thanks. I thought that filters defined only as part of analizer, but I see that I was wrong. Now, I understand that I need filter, but it creates other question. The example of security filter in documentation checks in index whether level==5. It means that there is field indexed with "level" in every object that can be result of query the filter applied to. Imagine, I have classes A and B, the filter should be applied to and base class C, these objects inherite from. Class C has "level" field. Will the filter work, or it will complain that query results don't contain "level" field?
|