C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Resources » Articles » ASP.NET/Web Applications »

Including Search for your website documents -Part 1


Posted Date: 04 Oct 2005    Resource Type: Articles    Category: ASP.NET/Web Applications
Author: Harish RanganathanMember Level: Gold    
Rating: 1 out of 5Points: 10



Introduction


Search is an integral part of any website and particularly if your site has a large number of documents, providing a search functionality would enhance the quality of the website and easy access to documents.

Microsoft Indexing Services can be used effectively to implement search for your websites with less coding and configuration.

Indexing Services scan the Documents and provide an easy way for searching within documents. This built-in feature can be made use of effectively for implementing search functionality.



Configuring Indexing Service to Search within documents


1. Select "My Computer" and right click on it and select "Manage".

2. Expand the "Services and Applications" Node.

3. Select "Indexing Service" and right click on it.

4. Select "New" and then select "Catalog"

5. Enter a name for the Catalog.

6. Enter the location to save the Catalog and then click Ok

7. A new Catalog will be created under the "Indexing Service" Node.

8. Select the New Catalog and then Point to "New" and then
point to "Directory"

9. Point to the path where you store the Documents (Word, Excel, PDF) etc.,

10. Its enough if you point it to the Root of the folder and it would automatically scan the sub-folders.

11. Make sure you select the option Yes for the "Include in Index"

12. Right Click on the Catalog and select Properties

13. Switch to the "Generation" Tab and then select
"Index files with unknown extensions" and "Generate Abstracts" checkboxes.

14. Right Click on the "Indexing Services" Node and select "Stop"

15. The service will be stopped.

16. Now repeat Step 14 and select "Start".

17. The Service is started and the Documents get scanned.

18. It may take sometime to scan all your documents if you have a lot of documents.

19. You can test the Search by selecting the "Query the Catalog" under the Catalog you created.

20. It provides a textbox for entering search text and Button which would display the search results.

21. Now your Indexing Service is ready for searching your documents.

Read Part 2 for Using the Search Results returned by Indexing Service in your applications.


Summary


In this article we saw how to Including Search for your website documents using Microsoft Indexing Services.




Responses


No responses found. Be the first to respond and make money from revenue sharing program.

Feedbacks      
Popular Tags   What are tags ?   Search Tags  
Sign In to add tags.
(No tags found.)

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: Treeview - XML, XPATH - Show part of XML Document
Previous Resource: Including Search for your website documents -Part 2
Return to Discussion Resource Index
Post New Resource
Category: ASP.NET/Web Applications


Post resources and earn money!
 
Related Resources



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use