I'm using SearchDataSource to add search capabilities to my site across both pages and files. It's been running for a while now but to be honest the results that come back are really not good.
Could someone point me in the direction of some documentation or resources on properly configuring and fine tuning the search indexes etc. I can't really find anything on World that seems to be suitable.
I have never been a big fan of searching with the searchdatasource. I would highly recommend that you install episerver search that was made available by Paul. It is quite nice and you will be alot more happier than using the searchdatasource. Here you will find some documentation on the EPiServer's Full Text Search. http://world.episerver.com/Documentation/Items/Tech-Notes/EPiServer-Framework/EPiServer-Framework-61/EPiServer-Full-Text-Search-Service/
Yeah, I'm beginning to form the opinion that the SearchDataSource isn't really good enough for what I want to achieve.
Just to clarify, does the documentation link you posted refer to Paul's EPiServer search that you mentioned?
Yes sir Robert. If you need more help, feel free to email me or post here to get you on your way. Good luck
Brilliant, thanks for your help. I'll check this out.
I've run into my first problem with the full text search already!
In Paul's blog he says that (after installing and configuring the service), "The next time the site is re-compiled and started the initial indexing should be done."
This isn't happening for me, and if I try and re-index from the gadget supplied, it just gets stuck at 0% and nothing happens.
Any idea what I've done wrong?
There is a hitch in it. There is a thread somewhere around this forum where you need to enable anonymous auth to service folder or something like that. I will do some digging here and let you know.
What do you get when you navigation to this url "http://yoursitedomain/IndexingService/IndexingService.svc"
I get the following message:
"Endpoint not found."
heres my email "firstname.lastname@example.org" or email@example.com. shoot me an email
Do you have the access key in your web.config <add name="localIndexingService" baseUri="http://yoursitedomain/IndexingService/IndexingService.svc" accessKey="local"/>
The access keys need to match.
I'm also having the exact same problem. I have FTS configured, it was working on my development server just fine, but on the live server I'm unable to view the index. When I navigate here (/IndexingService/IndexingService.svc) I get a message "endpoint not found" and when I browse (/IndexingService/IndexingService.svc/update) I get "method not allowed".
I have tried changing the <requestLimits maxQueryString=""> value to as high as I possibly can without it erroring (900000000) and it doesn't make a difference
I was having problems earlier with the service not even displaying, but I found that was due to having multiple bindings set for the website, so I made a standalone site that points to the root folder of the website, which is referenced via a subdomain.
Any input would be greatly appreciated.
From what I can rememeber, my issues were caused by a whole bunch of custom Handler Mappings on IIS. This seemed to break WCF services. The fix for me was to click "Revert to Parent" in the right hand menu of the IIS Handler Mappings section.
Do you have any custom HTTP handlers in your web.config?
I don't recall adding any custom handlers. What would cause an "endpoint not found" error?
The "endpoint not found" message isn't actually an error, on a working system, this is the message that's returned if you try and view the the service in a web browser. The good news is that it's not returning a 404! The "Method not found" message will also appear on a working system when the page is viewed through the browser.
Do you have the re-index widget installed, if so are you able to re-index content?
I would review your web.config and make sure the settings match up with the settings shown in this post http://world.episerver.com/Blogs/Paul-Smith/Dates1/2011/5/EPiServer-Full-Text-Search-Now-Available-For-CMS-6-R2/, paying particular attention to the service URL.
Make sure you have anonymous access enabled for this service.
how would I enable annonymous access for the service? I have it enabled for the whole application, do I need to do anything further?
I do have the re-index widget installed, web.config is modified exactly as that link outlines. I have my assembly name in the reindex config section. How do you access the area to trigger the reindex? Does it happen automatically or do you need to click a link somewhere?
To re-index, you need to go to your dashboard in episerver and add the re-index gadget. From there, you need to start the index. The service needs anonymous access in IIS.
I added the reindex widget and tried to run it. It comes back with an internal server error 200, and the details list what appears to be page ID's. Here is the complete error detail
nm i found what was causing that, apparently when initially setting up the search I was having problems and was writing the page ID to the page, and forgot to delete that line. Now it's indexing fine. Will update if anything changes. Thanks for everyones help, it's greatly appreciated
actually instead of getting search results, I'm now just getting Page could not be loaded timeouts
There is a thread Fifa Coins somewhere around this forum where you need to enable anonymous auth to service folder or something like that. I will do some digging Fut 14 Coins here and let you know.