on 03-13-2006 6:34 PM
Hi,
I have a Web Dynpro application that uses trex search to find files via Custom Properties.
The code works fine but when I try to search documents whose property PropX = "*" it returns all documents in folder, even when not all of them have PropX assigned.
I don't know if it is a correct behaviour; in case it is, what would be a way to find 'any' document that has a PropX associate with it, no matter its value, using TREX.
The code was taken from document: "Using the KM Indexmanagement APIs for searching with TREX", found in: www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/kmc/using the km indexmanagement apis for searching with trex.article
The specific code used is:
/////////////////////////////
.....
SearchQueryListBuilder sqb = new SearchQueryListBuilder();
sqb.setSelectedCustomProps(
"myNamespace:PropX(value=*)"
);
IQueryEntryList qel = sqb.buildSearchQueryList();
.....
/////////////////////////////
Thanks in advance...
hi i have a similar scenario
i have to create a web dynpro application that search thru indexes in TREX
what do i do..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.