Skip to Content
0
Former Member
May 18, 2004 at 01:52 PM

Changing Display Name in Search Results

34 Views

Hi,

We are on EP 5 SP4 P3 with TREX SP 5.0. We have created a web site and web repository manager to index a specific web site. Now this site has a lot of pages where the <title> tag contains content that is not useful in the search results. The body of these pages have content that are surrounded by <b> tags and if listed in the search results would make a lot more meaning.

Now to accomplish the listing of this content surrounded by <b> tags in the titles of the search results, we created a HTML Property extractor to extract the first B and assign it to the Property Name displayname, assigned this property to property extractor class and then assigned it to the web repository. After reindexing this site, the search results still contain the content listed under the <title> tags ("Full Record") and are not picking up the content within the <b> tags.

A watch on this document listed the below. As you see it has two displayname properties and is picking up the content within the <b> tags but is assigning it to a completely new displayname rather than replacing the existing one. Any advice on how to assign the extracted value to the existing displayname? Thanks.

docID: '/pushpage/pushpage/scripts/TechArticleExpanded.asp'; docType: TYPE_CONTENT; content length: 0 content codepage: ''; mimeType: 'text/html'; doc language: '' number of attributes: 9 name: 'index-content'; type: 'TEXT'; value1: 'true'; value2: ''; op: 'EQ' name: 'embedded-links'; type: 'TEXT'; value1: '/pushpage/pushpage/pushpage/SignIn.htm'; value2: ''; op: 'EQ' name: 'embedded-links'; type: 'TEXT'; value1: '/pushpage/pushpage/scripts/AddNewComment.asp'; value2: ''; op: 'EQ' name: 'contenttype'; type: 'TEXT'; value1: 'text/html; charset=windows-1252'; value2: ''; op: 'EQ' name: 'displayname'; type: 'TEXT'; value1: '(English) Interaction between a reactive'; value2: ''; op: 'EQ' name: 'modified'; type: 'TEXT'; value1: '20040514152742'; value2: ''; op: 'EQ' name: 'displayname'; type: 'TEXT'; value1: 'Full Record'; value2: ''; op: 'EQ' name: 'contentlength'; type: 'TEXT'; value1: '-1'; value2: ''; op: 'EQ' name: 'documentUri'; type: 'TEXT'; value1: '/pushpage/pushpage/scripts/TechArticleExpanded.asp'; value2: ''; op: 'EQ'