Click here to Skip to main content
15,893,668 members
Articles / Programming Languages / C#

Ektron: Finding “Missing” Content in the Index on 64bit Windows

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
2 Feb 2012CPOL1 min read 10.8K  
Finding “Missing” content in the index on 64 bit Windows

When content is created on an Ektron with a large content id (commonly on eSync enabled workareas), it may corrupt the content id.

For example, if a new content item has an id of 6442451035, it will actually be indexed with a contentid of 2147483739. This is because the original id is larger than an unsigned integer can hold.

C#
1: long contentId = 6442451035;
2: Console.WriteLine((uint)contentId); //2147483739

You can then query your public index to see if content has been misindexed by running a query to find your content.

SQL
SELECT Filename, Path, ContentID64, ContentLanguage _
FROM <<PUBLIC_CATALOG>>..SCOPE() _
WHERE contentid64=6442451035 OR contentid64=2147483739

image

If the content is not indexed at all, you won’t find any content and the issue is something else. However, if you get  a result, but the CONTENTID64 value is wrong, then you should be able to fix the problem.

To fix this, you can follow the procedure given below:

  1. Download Updated QLXFilters (and check that they are newer than your current DLLs!)
  2. Backup QLXFilter.dll from c:\windows\system32 and c:\windows\sysWoW64 on the server
  3. Stop the Indexing Service
  4. Replace the DLLs with the updated versions
  5. Start the Indexing Service
  6. Run a full SearchConfigUI, if you have assets missing from the current server, please untick Documents from the advanced tab.
  7. Select Re-index existing Catalogues  - this may affect the stability of your website.
  8. After this has completed, please check the Docs to Index on the indexing service and ensure that this has finished indexing.
  9. After this is complete, please run your query and you should now see the results return correctly.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) Freestyle Interactive Ltd
United Kingdom United Kingdom
I'm a lead developer for Freestyle Interactive Ltd where we create many wonderful websites built on Microsofts ASP.Net and Ektron CMS.

I've been developing .Net applications (both Windows and Web) since 2002.

Comments and Discussions

 
-- There are no messages in this forum --