Level: 100
 

Index Viewer 2.0 for Sitecore 7 released

SearchingToday I released a new version of the IndexViewer. You can use the tool to view, search and rebuild your Lucene indexes in Sitecore. The new version includes features that support the new Sitecore.ContentSearch namespace and LINQ expressions. It also includes new functionality that allows you to rebuild indexes on remote servers such as a content delivery server.
Written by:
Fri, Feb 14 2014

Rebuild remote indexes

You can now rebuild remote indexes on your content delivery server. It requires that you install a couple of files on your CD instance, but otherwise it works out of the box.


The idea is that there is an item in Sitecore, which has a layout that triggers a rebuild or show available indexes. This will be available on your CD’s and can be triggered if you enable the feature. To ensure that it isn’t triggered by someone outside of your organization, you have to enter a token in the settings. This token needs to be used to rebuild or get index information:


Rebuild remote

If you don’t want to enable this, then simply don’t enable the checkbox and don’t install the frontend files.


If you want to use it, then remember to change the security token, to something that isn’t default.



Support for Sitecore.ContentSearch

You can now browse, open and rebuild the ContentSearch indexes. Further a new feature to search using LINQ has been added. You can now navigate to the LINQ tab. Here it is possible to enter a where and take statement:

 

Linq


You can also use the LinqScratchPad or LinqPad, but I thought it would be nice to have a lightweight tool as well – plus it was fun to develop. There is a built in poor-man’s code completion. It only work on your SearchResultItem type – also your custom type, which you can enter in the field above. 



Other features

All though it was a hard merge, I am delighted that we have another contributor to the IndexViewer. Paul Martin has built support for the Sitecore.Search API. Further he has extended the search functionality so that you can now add three clauses for each type of search. He has done a really great job, so you can now search like this:


New search



Download

You can download the new IndexViewer 2.0 for Sitecore 7 here

 

Please rate this article


0 rates / avg.

    6 responses to "Index Viewer 2.0 for Sitecore 7 released"

    Dan
    Using SiteCore 7.2.

    I can select an index and see the fields, but when I click any tab other than Ovewview, or any button above that, it always says "Please select a database and index."
    Posted: Wednesday, May 14, 2014 6:58 PM
    I will try and look at it. Have not tested it in 7.2. Thanks for reporting it!
    Posted: Thursday, May 15, 2014 10:38 AM
    Using Sitecore 7.2, and finding that all other tabs are working expect for Sitecore.Search API tab. I am getting results back for both Lucene.NET API and LINQ but nothing is returned for Sitecore.Search API.

    Am I doing something wrong?
    Posted: Wednesday, July 09, 2014 11:34 PM
    What do I need to do to get Rebuild Remote Index working. I enabled it on my auth server and added the two live CD servers but there are no indexes to choose from when I try to rebuild a remote index.
    Posted: Monday, September 22, 2014 10:39 PM
    Hi James,

    When you have created the right server configuration the index'es should be shown from the configuration of that Sitecore instance. Please check the logs.

    Cheers
    Jens
    Posted: Tuesday, September 23, 2014 8:23 AM
    Hello,

    Can you indicate whether this module is compatible with SItecore CMS 7.5?

    Kind Regards,
    Kavish
    Posted: Monday, November 16, 2015 7:13 AM

    Leave a reply


    Notify me of follow-up comments via email.
     
     
    #nbsp;