-
Properties reports “All are indexed”, so it’s not a stale index issue.
-
I have a development application with a whole 21 documents in it, and it uses a text box to allow the user to specify filter criteria. That box is bound to sessionScope.userQuery, and used by the datasource:
<xp:this.search><![CDATA[#{javascript:
var filterQry:String=“”;
if(sessionScope.searchNav && sessionScope.searchNav!=“”) filterQry=sessionScope.searchNav;
if(sessionScope.userQuery && sessionScope.userQuery!=“”) {
if(filterQry=="") filterQry=sessionScope.userQuery;
else filterQry="( "+filterQry+" ) AND ( "+sessionScope.userQuery+" )";
}
print(“pVT:filterQry="”+filterQry+“"”);
filterQry;
}]]></xp:this.search>
-
sessionScope.searchNav is not currently used, and the server console shows pVT:filterQry=“value from search box” just like it should. In addition the UI reports filterQry so the user knows when filtering is in effect, and that is consistent with what’s entered.
-
So for example, two of the documents contain the word “Preparation”. If I enter “Preparation” into the search box, only one document appears. not two. This is consistent, in that three documents contain “Action” but when I search for “Action”, only two of those documents appear.
Are there any workarounds for this? I didn’t find any reference to it on the Forum at all. Thanks for your time…