Friday, May 29, 2009

Property problems in SharePoint Search

Today I got the below error in SharePoint Search no matter what search string I was attempting to use...



"Property doesn't exist or is used in a manner inconsistent with schema settings."

After some investigation I come to know, the problem is due to a results schema, on search results page, which doesn't match the schema that you are using for your query. This occurred because someone had changed the 'Selected Columns' XML in the 'Search Core Results' Web Part.

The fix for the problem is,
  1. Go to the Search Results Page
  2. Go into Page Edit Mode
  3. Find the 'Search Core Results' Web Part on the page
  4. Modify the Web Part, and go to it's properties
  5. Expand 'Results Query Options'
  6. Go to 'Selected Columns' and edit this field.
Actually problem lies here property defines here is incorrect.

The XML, by default, should look something like:


No comments:

Post a Comment