Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
WebService Full-Text Search
azad
Hi,
I'm doing a full text search for documents both using COM and web service. Its working fine with COM. But, my web method throws an exception saying 'Full text index is unavailable at this time '. My Index Search service is up and running. Any clues?
Find more posts tagged with
Comments
guido1
Posting up some code might help as it could be that you're passing some inappropriate parameters, although i've only ever been returned that error when the WorkSite Index Search service has in fact been
stopped
azad
Hi Guido, thanks for replying. This is the code I'm using. However I strongly feel that it is something to do with server configuration, because this code is working fine in the development server(i.e i'm able to do Full text search using web service in this Production server).
'input and output objects for webservice methods
Dim searchDocInput As SearchDocumentsInput = New SearchDocumentsInput()
Dim searchDocOutput As SearchDocumentsOutput = New SearchDocumentsOutput()
Try
'assign value to input
Dim databases() As String = {m_Database}
searchDocInput.Databases = databases
' output profile
searchDocInput.OutputProfile = outPutProfile
' search params
Dim searchParams(0) As ProfileSearchParameter
searchParams(0) = New ProfileSearchParameter
searchParams(0).AttributeID = imProfileAttributeID.imProfileContainerID
searchParams(0).SearchValue = folderID
searchDocInput.ProfileSearchParameters = searchParams
' fullText()
Dim fullText As New FullTextSearch
fullText.SearchLocation = imFullTextSearchLocation.imFullTextAnywhere
fullText.SearchValue = keyWord
searchDocInput.FullTextSearch = fullText
'output mask
searchDocInput.OutputMask = OutputMask.Profile
searchDocOutput = m_Connection.IWOVServices.SearchDocuments(searchDocInput)
Thanks.
jny
"Full text index is unavailable at this time" typically indicates that the DMS Server you're connecting to is not running its indexing engine.