01-06-2020 12:20 PM
I am trying to get number of document based on full text search. I wrote following code
DocumentQuery query = app.Core.CreateDocumentQuery();
query.AddDocumentType(docTypeName);
query.RetrievalOptions = Hyland.Unity.DocumentRetrievalOptions.None;
query.AddTextSearchConstraint(DocumentQuery.TextSearchType.IDOLFullTextSearch, fullText);
DocumentList docList = query.Execute(100);
int i = docList.Count();
I am keep getting error on execute line "An error occurred within the Unity API: Invalid Text Search Type is provided"
Any idea to resolve it ?
01-06-2020 11:16 PM
Why are you not filtering using the keywords?
01-07-2020 06:10 AM
I can but some old documents don't have a keyword on Onbase. I tested full text search on client and for one of example its returning approx. 150 documents. But I have an issue with my API call.
01-09-2020 11:37 AM
Any one?
Getting following error.
Unity API: Invalid Text Search Type is provided
01-09-2020 11:42 AM
Are you licensed for IDOL Full Text or Hyland's new Full Text Search? Should you be using TextSearchType.OnBaseFullTextSearch instead?
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.