SharePoint 2007 Search Results 
Disclaimer: The information below can be specific to particular SharePoint environmental issues. The workarounds may or may not be suitable for your environment. Please consult your SharePoint Administrator before performing any changes to your SharePoint production environment.

Protocol handler that crawls the SharePoint content will not populate ows_Modified_x0020_By(Text) or the ows_ModifiedBy(Text), ows_created_x0020_By(Text) crawled property.

1.

How to map LastModifiedBy and CreatedBy field to crawled field?

  • Open Central administration -> Shared Services -> SharedServicesX (X being the number of the shared services provider for the site you are creating a mapping) -> search settings -> metadata property mappings. 
  • Click "ModifiedBy" to edit the properties.
  • Make sure "Include values from all crawled properties mapped" is selected.
  • Click "Add Mapping" and select the "Office" category from the dropdown list.
  • Look for a property named "OFFICE:8" , click "OK".
  • Click "Add Mapping" and select the "ows_Last_x0020_Modified(text)" from the ALL categories dropdown list, Click "OK".
  • Make sure the box is checked “Allow this property to be used in scopes”, click "OK".
  • Click "CreatedBy" to edit the properties.
  • Make sure "Include values from a single crawled property based on the order specified" is selected.
  • Click "Add Mapping" and select the "Office" category from the dropdown list.
  • Look for a property named “OFFICE:4” , click "OK"
  • Click "Add Mapping" and select the "ows_Created_x0020_By(text)" from the ALL categories dropdown list, Click “OK”.
  • Make sure the box is checked "Allow this property to be used in scopes", click "OK".

2.

How crawling will affect export process of search results?

For example, if you perform search for the search query, Author='John Doe' using Trial Search dialog, the search results may contain 1205 records approximately. During export process, search results count may increase to 1250 records approximately due to the incremental crawling of the content source.

3.

How to avoid the "System.Services.TimeoutException" during export process of search results in SPListX?

During frequent usage of SharePoint, SharePoint Search services cannot serve the search request within the stipulated time therefore, SharePoint search server itself throws an System.ServiceProcess.TimeoutException. To avoid this exception, we strongly recommend you to perform search export process during off-peak hours.

4. How stemming will help you to get related search results?

Stemming will bring back words closely related to the query terms i.e inflectional variants for most languages, but for some languages derivational variants as well.

For example, sample search queries with search results.

S.No Search Keywords Search Results
1. run In addition to exact match, it will bring back matches on "runs","ran","running".
2. page In addition to exact match, it will bring back matches on "pages","paged", and "paging".

5. How to enable stemming in M0SS 2007?
  • Go to the search page, enter any query to return the search results page. For ex:enter keyword 'sharepoint' in anykeywords text box.
  • Under Site Actions, select 'Edit page'.
  • Locate the 'Search Core Results' web part (usually in the bottom zone).
  • From the Edit button, select 'Modify shared web part .
  • In the task pane that appears on the right hand side, under 'Results Query Options', select 'Enable Search Term Stemming' checkbox.

Note: If stemming is switched on, it will increase your index size and potentially impact search performance.

6. What is meant by Trimming Duplicate Search Results?
To specify whether duplicate list item URLs should be removed from search results.
7. How to view duplicate search results in MOSS 2007?
  • Go to the search page; enter any query to return the search results page. For example: enter keyword 'sharepoint' in any keywords text box.
  • Under Site Actions, select 'Edit page'
  • Locate the 'Search Core Results' web part (usually in the bottom zone)
  • From the Edit button, select 'Modify shared web part
  • In the task pane that appears on the right hand side, under 'Results Query Options', check the box labeled ' Remove Duplicate Results '.