Hello *,

im currently coding an App wich uses the SOAP Methods to do several Searchrequests.

I checked the Document vibeprem3_devel.pdf which defines the XML with this Example:

search_getFolderEntries

<QUERY>
<AND>
<FIELD fieldname="_entityType" exactphrase="true">
<TERMS>user</TERMS>
</FIELD>
<FIELD> fieldname="_docType" exactphrase="true">
<TERMS>entry</TERMS>
</FIELD>
<OR>
<FIELD fieldname="_lastName">
<TERMS>Smith</TERMS>
</FIELD>
<FIELD fieldname="_firstName">
<TERMS>J*</TERMS>
</FIELD>
</OR>
</AND>
</QUERY>

which seems to be wrong. First of all fieldname="_docType" is out of the element FIELD. second is, that there seems to be no fieldname with _firstName and _lastName in the sourcecode ssf/util-search/src/org/kablink/util/search/constants.java there are following constants:

https://kablink.svn.sourceforge.net/...Constants.java


I try to do a search which searches for a String which matches in Username, Tags, Documents and Entrys and exclude some workspaces.


This example works but it matches only the creatorsname for now:

<QUERY>
<OR>
<FIELD fieldname="_creatorName" exactphrase="true">
<TERMS>MYUSER</TERMS>
</FIELD>
</OR>
</QUERY>


I tried to search for tags with:

<FIELD tagname="mytag">
<TERMS></TERMS>
</FIELD>

but failed.


Please show me an example how to search for firstname, lastname, tags, entrys, and documentations (all in <OR></OR>).

Thanks so far, Emanuel