PILLUTLAAVINASH / google-enterprise-connector-manager

Automatically exported from code.google.com/p/google-enterprise-connector-manager
0 stars 0 forks source link

Add a canonical title property #59

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Index a document with no content, only metadata.
2. Search for it.

What is the expected output? What do you see instead?

The GSA uses the HTML title for HTML content, and extracts titles in other ways 
from other 
content. When no content it provded, it uses the display URL in the search 
results.

For connectors, which are typically connecting to an ECM system, an object name 
of some kind is 
usually available. It would be nice if this could be supplied as part of the 
canonical properties 
(google:*) for use when no title is otherwise available.

Such a title could also be used in preference to other titles, but that usage 
seems more 
debatable.

What version of the product are you using? On what operating system?

GSA 5.0.0.G.14, Connector Manager 1.0.2.

Please provide any additional information below.

This is an enhancement (P2, because it's user visible).

Original issue reported on code.google.com by jl1615@gmail.com on 19 Oct 2007 at 4:24

GoogleCodeExporter commented 8 years ago
Should be considered for an SPI revision.

Original comment by donald.z...@gmail.com on 18 Apr 2008 at 10:26

GoogleCodeExporter commented 8 years ago
If there is a google:title property and no google:content or google:searchurl
property, send an HTML snippet containing the title.

Original comment by jl1615@gmail.com on 8 Dec 2008 at 11:21

GoogleCodeExporter commented 8 years ago
SPI change for the next release.

Original comment by jl1615@gmail.com on 9 Dec 2008 at 1:25

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Fixed in release r1327

Change Log:
----------

M  projects/connector-
manager/source/java/com/google/enterprise/connector/spi/SpiConstants.java
   - Added SpiConstants.PROPNAME_TITLE = "google:title"

M  projects/connector-
manager/source/java/com/google/enterprise/connector/pusher/DocPusher.java
   - If there is a google:title property and no google:content or
     google:searchurl property, send an HTML snippet containing the title.

Original comment by Brett.Mi...@gmail.com on 2 Jan 2009 at 11:55

GoogleCodeExporter commented 8 years ago

Original comment by jl1615@gmail.com on 12 Jan 2009 at 3:21