This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.
Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.
Before posting questions here you might want to review the developer documentation.
Hi,
I'm building a custom feature which I need to index. In the MyFeatureIndexBuilderProvider I'm calling IndexItem(object....) method without using ThreadPool.QueueUserWorkItem(new WaitCallback(IndexItem), sender). If I try to use the threading I never get anything in the mp_IndexingQueue.
The index gets created and I can see it in the mp_IndexingQueue table. However it stays there until I do some other action like add a post in a forum which I believe fires some update thread which goes through this mp_IndexingQueue and creates indexes. Is there a method I can use to process this mp_IndexingQueue?
Could anyone point me the right direction? (I read the documentation on making feature searchable but due to using LINQ I had to change it a bit). When I rebuild the whole index all is fine.
Thanks,
Peter
After you get rows into the mp_IndexingQueue table you can call
SiteUtils.QueueIndexing();
Hope it helps,
Joe