PILLUTLAAVINASH / google-enterprise-connector-manager

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

Cached and Text Version links are broken. #36

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Perform a search through the UI that returns results.
2. Click the Cached link for one of the search results.

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

The cached page is expected. Instead, I got a page that says

Your search - cache:-7oAMe8BSKsJ:swift:9510/Livelink95/... tzupdater - did
not match any documents.
No pages were found containing
"cache:-7oAMe8BSKsJ:swift:9510/Livelink95/... tzupdater". 

I added the ... to shorten the URLs. The same breakage occurs with the Text
Version links on converted documents like PDF files.

Please use labels and text to provide additional information.

The cached page is present in the system, but the Cached link does not
match. The Cached link uses the partially URL-encoded display URL without
the protocol prefix (e.g., "http://"). If you switch that out for the
"internal" URL, e.g., 

googleconnector://livelink.localhost/doc?docid=31350

without the "googleconnector://" prefix, and try

cache:-7oAMe8BSKsJ:livelink.localhost/doc?docid=31350 tzupdater

That returns the cached page. It could be argued that it's the cache that
is broken, in using the internal URL, especially since the cached page says 

This is the cached copy of
googleconnector://livelink95b.localhost/doc?docid=31352

That is, it shows the internal URL, which is of no use to the search user.

As an aside, note that this is a different internal URL using a different
connector instance and pointing at a different docid in the remote Livelink
instance. The cached content, however, is from docid=31350. I don't know
how this happened. I certainly index things in funny ways with an
occasionally broken connector, so I don't know where this particular error
is in the connector or the GSA.

This "fix" of using the internal URL in the cache: search also works for
Text Version links. I did not see the mismatching docids in my tests with
the Text Version links, but the change in connector instance name, in this
case "swift95" to "livelink95b", also occurred.

Original issue reported on code.google.com by jl1615@gmail.com on 4 Apr 2007 at 10:40

GoogleCodeExporter commented 8 years ago
Google Bug #683398

Original comment by vjo...@gmail.com on 16 Apr 2007 at 2:37

GoogleCodeExporter commented 8 years ago
I don't know if it's related to this problem or not, but when searching I 
recently
got a page with a [ More results from tennyson/Livelink96/livelink.exe ] link. 
This
link, which essentially added site:tennyson/Livelink96/livelink.exe to my query,
returned no results. I tried various combinations with the internal 
googleconnector
URLs here, too, but I never could get any results.

Original comment by jl1615@gmail.com on 17 Apr 2007 at 12:35

GoogleCodeExporter commented 8 years ago
The GSA requires FQHN in the display URL - then this will work.  Connector 
needs to
feed FQHN in the display URL.  This is not a bug with the GSA.

I don't think Comment 2 is related - that sounds like an authn/authz related 
issue.

Original comment by mgron...@gmail.com on 4 Oct 2007 at 4:33