Confused about Enterprise Search

rated by 0 users
This post has 10 Replies | 5 Followers

Top 500 Contributor
Posts 89
Points 1,225
primedia_jdavis Posted: Mon, Jul 14 2008 4:53 PM
  1. Currently, our development build of CS 2008 has a little search box on the top right that searches everything (same as here on dev.communityserver.com). What happened to the drop-down menu to select a scope roll-up, as in if you're browsing Blogs, to only search blogs?
     
  2. I've followed the steps to install Enterprise Search in the development environment. "select isindexed from cs_posts" has changed from a list of 0's to a list of 1's, and I see a couple files in the index directory, but they're both 1kb, and if I use Lucene Luke to browse the index, Luke says that the index is corrupt. Is this normal? I've stopped and restarted the indexing task service, no change. UPDATE/EDIT: Deleting all files from the index directory, resetting IsIndexed in cs_Posts back to 0, resetting the indexing service and the WWW service (iisreset), and waiting a couple hours, IsIndexed in cs_Posts is now 1 again all the way down, and there are no files in the index directory at all. Ugh.. ?
     
  3. Are there supposed to be any clues or signs that ES is being used in CS now? I'm only seeing the same old behavior. The Licenses screen says that ES is enabled, but how can I tell? And I cannot manually restore the drop-down menu for scope selection because app:xxxxx (this was used in CS2007 as an application filter for Lucene.net) doesn't seem to work.

Help would be appreciated.

Top 150 Contributor
Posts 160
Points 2,020

I got a reply regarding the lack of scope roll-up in search here:

http://dev.communityserver.com/forums/p/488435/625817.aspx#625817

It looks like you can add it back into your theme, though we've not done it yet ourselves.

Jesse

  • | Post Points: 5
Not Ranked
Posts 8
Points 145
ldaknis replied on Wed, Jul 16 2008 11:55 AM

As far as enterprise search goes - I would recheck community_override.config to make sure everything is correct regarding connection strings. 

 

Did you create a new search folder for ES and point to that in community_override?

  • | Post Points: 20
Top 500 Contributor
Posts 89
Points 1,225

There's nothing in community_override.config that relates to connection strings. It's all task-related.

And I'm a little confused, there's no documentation as to which version of community_override.config (web vs. task) gets what. I assume they'll be different, with one having a section commented out while the other one will have a different section commented out. I'm not sure where to find documentation on the configuration settings for ES, all I see in the install guide is "make sure it looks right".. *??*

 

  • | Post Points: 20
Not Ranked
Posts 8
Points 145
ldaknis replied on Wed, Jul 16 2008 12:59 PM

I mispoke -

Instead of connection string I meant pointing to the right folder of search that you created.

So - in search path, making sure you're pointing to the correct folder.

Also, in the add name="dev" siteUrl= section, making sure the siteurl is correct.

If either of these two are off I know that I've had multiple issues with ES in the past.  It would index but nothing would show up while searching.

Have you checked the tools area to see if there area to see if any errors are being thrown?

In control panel - site administration - tools.  If any errors are coming up you might be able to diagnose and fix.

  • | Post Points: 20
Top 500 Contributor
Posts 89
Points 1,225

Thanks. I had triple-checked those settings. And yes, I had checked the tools section in Control Panel, nothing interesting (i.e. errors) in any of the three logs sections. Neither are there Windows error logs in Event Viewer.

  • Connection string surely couldn't be off because IsIndexed in cs_Posts switched back from 0 to 1 (unless of course that can be changed by a different process).
  • The index directory path was surely correctly set because it dropped a couple [corrupt] Lucene files there.

I can't reproduce either of the two scenarios now, though. I spoke with a fellow engineer who's set this thing up before, he mentioned to be sure not to have both the web and the task/job both indexing or else there will be a corrupt index. But that's why I ask: Should both communityserver_override.config files look the same (stock, plus attribute value updates for app name / url)?

Jon

  • | Post Points: 20
Not Ranked
Posts 8
Points 145
ldaknis replied on Wed, Jul 16 2008 1:41 PM

Both of my communityserver_override.config files are the same.  In both, I have the tasks area commented out, and I change the time it indexes in the actual tasks.config file.

  • | Post Points: 20
Top 500 Contributor
Posts 89
Points 1,225

ldaknis:

Both of my communityserver_override.config files are the same.  In both, I have the tasks area commented out, and I change the time it indexes in the actual tasks.config file.

There are nine major sections to the stock ES communityserver_overrides.config file, three of them have "tasks" as part of either their markup or their description, two of them are commented out in the stock file. So when you say 'I have the tasks area commented out' I don't know what that means.

Would you mind posting your configs?

  • | Post Points: 5
Top 500 Contributor
Posts 89
Points 1,225

Started over, redid the steps. Seems to be working now. Duplicated the index directory and pointed Luke to it and it does load up. So we're good.

  • | Post Points: 5
Top 500 Contributor
Posts 89
Points 1,225

I'm still struggling with #3 of my OP. So there's a valid Lucene index that I can pull up in Luke now, but watching SQL Server Profiler, I can see that SearchBarrel is still being used for searching by way of hashwords. Is this a hybrid implementation Lucene/SQL? I assume not. FWIW, the communityserver_override.config file in the web directory has <Override xpath = "/CommunityServer/SearchBarrel" mode = "remove" /> and iisreset has since been invoked. Is there another flag I should be setting somewhere? Help would be appreciated.

  • | Post Points: 20
Top 10 Contributor
Posts 3,559
Points 53,720
TelligentSupportTeam

I'd assume as well as removing the Search Barrel section, there would also have to be an override overiding the default search provider

Community Server Documentation please rate articles you read

Nintendo Wiikly | My Blog

  • | Post Points: 5
Page 1 of 1 (11 items) | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com