Modifies a user agent or a subchannel.
public int editAgent(String user, String agentOrChannel, String subchannel, String trainingText, int ageOfInformation, int relevance, int maxDocs, int agentType) throws RemoteException, SearchException
user – user name
agentOrChannel – name of an agent or channel
subchannel – name of a subchannel or null if it is an agent
trainingText – text used in training of this agent
ageOfInformation – age of documents to be searched
relevance – minimum weight of documents to be searched
maxDocs – maximum number of documents
agentType – type of agent
Returns a status of: 0 if failure; otherwise, successful.
Copyright © 2004. Sybase Inc. All rights reserved. |
![]() |