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 Create a new indexbuilder provider then add three function IndexItem(), RebuildIndex(), ContentChangedHandler()which is given in the link
http://www.mojoportal.com/makingcustomfeaturessearchable.aspx
then add the config file in the location web/setup/indexbuilders
and then add the code under the update method as
if (indexBuilder != null){this.ContentChanged += new ContentChangedEventHandler(indexBuilder.ContentChangedHandler);
}After finising these all i tested whether our custom feature is add in the internal search,it shows no result
Where i make the mistake?
please help me.
you need to debug it and set break points in your code to see what is happening or if your indexbuilder is being called or is working as intended.
Thanks for your reply joe
I used debugger in my code it calls the config file and it also goes to my indexbuilder functions ContentChangedHandler(),IndexItem, which is in mojoportal.business.webhelper.Where shall i call the RebuildIndex() function.
want i call RebuildIndex() function of my indexbuilder?
Hi joe
I add a new page In that page i add my feature after that I rebuild search index now when i an searching by giving the feature title name that page name display on the search result,but when i am giving the feature content for search it shows noresults found,Actually my feature having gridview Inside the gridview i add the seriesname ,diameter columns under which i add the product seriesname and its diameter,but when i am giving the series name to search it shows NoResult found, i want the page to search and the page name display on the seach results.
For that what to do?
Is there any way to index my feature before update or delete the content?Can You Explain me?
When i am update my content it goes to indexbuilder contentchangehandler method and then goes to indexitem.But before doing this the content is not searchble
I suggest step through the code of an existing feature where search is working, ie the forums or blog when editing a post, see how it indexes the content and then figure out what you are doing differently.
Thanks for your reply joe,
I go through the blog and fourm Editpost here you take all the database value through a storeprocedure using class dbblog but our feature is in different database in that database we have only the value which is bind in the gridview.Then our pageid,moduleid item id etc is in another database and also in different tables.
Can i Use it as blog features?
Thanks,
Nisha