File Search with Microsoft Index Server

Vote:
 

We are using Index Server for file search. We point out the Catalog to search in (SearchDataSource.MainCatalog = "OurCatalog";) The search seems to work fine but the search result is fysical files. This is a problem.

When we are populating the search result, we can't find any solution to get the LinkURL or the file name (Unified File info) from the Container.DataItem. We only gets the fysical Link (C:\Inetpub\...) and name (FILEGUID.extension).

We have a Repeater to view the result.

How to populate the search result with LinkURL and file name? 

#19643
Apr 22, 2008 15:57
Vote:
 
Looking for an answer to this question too...
#20287
May 26, 2008 11:31
Vote:
 

Hi Andreas, 

I believe the problem is that you are indexing files with microsoft indexing service that are already indexed by EPiServers VirtualPathVersioningProvider. If you are only using the versioning provider there is no need to use indexing server.

Instead of using "SearchDataSource.MainCatalog" you can set searchlocations(if you are using our versioning provider).
EX: SearchDataSource.SearchLocations = "~/Global/,~/Documents/,~/PageFiles/";

When you are using microsoft indexing service you are getting the filename and the searchpath to the physical file as it has been indexed by the service. If you're indexing a files that is of episervers versioning file system the files will be named as a guid. If you go to your VPP folder in explorer you will notice how they are named.

If you want to use VirtualPathNativeProvider and windows indexing service, be sure that you don't include any folders that is of episervers versioning system when you index the files.

#20311
Edited, May 27, 2008 8:31
Vote:
 

Hi Nicklas

I have been investigating the search as discussed above but on x64 bit machine.
i have installed the x64Ifilter as supplied by adobe. I have used the indexservice in debug mode and it seems to load the files into the index all ok except for .doc files. (I get a message for .doc that it could not be added to index.)
I am also using the versioningprovider.
The filemanager search in epi is not returning files. not even for txt files
as this article indicates. : http://labs.episerver.com/en/Blogs/Mari-Jorgensen/Dates/2009/11/Searching-for-files-in-EPiServer-CMS-5/

Please advise how to query the Web catalog for verification purposes on dev.
What vpp provider to use etc..
Regards

#37564
Mar 11, 2010 11:30
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.