Can any one help me in getting Category search in java of EWS
Hi Apparao,
Could you please provide more detail about what you’re trying to accomplish?
Your request is unclear.
Thanks,
Kyle
Hi Kyle,
Iam looking for Category search service which the code should be in java .
Thanks in advance
Please clarify what you mean by “Category search service”.
Could you tell me how could I perform an advanced search, looking for documents with a certain category and with a certain value inside a attribute of that category, through Search Service WS in java?Please can you provide me any sample regarding this which can help me.
Thanks
Hi Apparao, The information you need is all available on the Knowledge Center. A C# 9.7.1 sample of our to use the SearchService is posted in the Code Samples area of this Web Services community. Please review that and adapt it to your needs as a Java application (C# and Java are very close in many respects). The syntax for searching within a particular search region using the Livelink Query Language (LQL) is outlined in the Online Help within Content Server. Details from the user help that can help you here are the following: OTSubType -- this is a region storing the numeric value of the subtype of the object; for example, a value of 144 means "Document" Attr_#_# -- regions in this format are Category Attribute regions, the first # = Category ID and the second # = Attribute ID; you will need to consult the "Regions" properties pages of the Enterprise Search Manager of your system to identify which region maps to the Category Attribute you want to search in Given these two fields, one could construct a query as follows: "OTSubType":144 AND "Attr_#_#":thevalueIwanttosearchfor Best regards, Kyle