Knowledgebase Home Page  >  SearchUnit  >  Version 2 Articles
Search the Knowledge Base
How do I upgrade my existing Index Directory files, from version 1.0, 1.1 or 1.2 to version 1.3?
https://keyoti.com/kb/Default.aspx?ToDo=view&questId=102&catId=66

Options

Print this page
Email this to a friend

Due to the addition of a new index file in version 1.3 (which improves search performance) it is necessary to update your indexes before version 1.3 DLLs can be used for searching.

The new index file is called "d.ind"

There are 3 ways this can be done (#3 is the most fool-proof and quickest);

1. Do nothing; the next time a search is run, the search engine will try to generate 'd.ind' in the index directory, however, this will fail if the ASPNET user doesn't have permission to write to the index directory.  Regardless of whether there are sufficient privileges, the first search will fail (as the new index is written after the search), so search at least twice.

2. Rebuild the index; when the index is rebuilt the new index file is generated.  The d.ind file should then be copied to the server with the other index files, ready for searching.  This is also suitable for users who programmatically build the index.

3. Force the creation of the file; assuming you use the Index Management Tool in the SearchResult control, the d.ind file can be created through the following steps;

a) Navigate to the existing index directory (note that d.ind doesn't exist)

 

b) In Visual Studio open the Index Management Tool through the control's verb 'Manage Index'.

 

c) Click 'Edit Document List' to open the document editor.

 

d) Close the 'Index Management Tool' and go back to the index directory in explorer, note the _d.ind has been created.

 

e) Rename it 'd.ind'

f) Copy the d.ind file to the server's index directory if necessary.

 

Whichever option you choose, if you can run searches at the end, then everything has succeeded.


Related Questions:

Attachments:

No attachments were found.