Readthedocs.org: Search results are dropping the .html extension

Created on 18 Jan 2017  路  10Comments  路  Source: readthedocs/readthedocs.org

Details

Expected Result

  1. Do a keyword search, e.g. using the string "portal".
  2. Get four results back
  3. All four links in search results work correctly, including the one titled "linking in to your mine":

http://intermine.readthedocs.io/en/latest/webapp/linking-in/index.html?highlight=portal

Actual Result

  1. Do a keyword search, e.g. using the string "portal".
  2. Get four results back
  3. Three links in the search results work correctly, except for the one titled "linking in to your mine":

http://intermine.readthedocs.io/en/latest/webapp/linking-in/index?highlight=portal

  • If you append .html, that URL works
  • If you build the docs locally, all URLs are always correct. The .html is not dropped.
Bug

All 10 comments

Related to #2829

I can't replicate this on my local instance, I don't have elastic search set up, but the search works on your project, so, I think there is an overlapping with elastic search and the theme or extension that provide the search to your docs.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

I was able to replicate this issue just by going to

https://intermine.readthedocs.io/en/latest/search/?q=portal&check_keywords=yes&area=default

and the first link displayed is this one: https://intermine.readthedocs.io/en/latest/webapp/linking-in/index?highlight=portal and should be this one https://intermine.readthedocs.io/en/latest/webapp/linking-in/index.html?highlight=portal (note the .html on it)

This is a bug that will probably be fixed when all the work already done around search has been deployed.

We can revisit it one some time after deploying new changes for ES. Hopefully, stale bot will remind us :)

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

This issue looks like https://github.com/rtfd/readthedocs.org/issues/5254, I'm not able to replicate it anymore. I guess we don't use the resolver anymore in the new search.

I'm closing this one since we can't replicate it anymore. Feel free to reopen if you still have this issue.

thank you!! Yes, it seems to be working now. :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gsemet picture gsemet  路  54Comments

andrewgodwin picture andrewgodwin  路  43Comments

alex picture alex  路  33Comments

jakirkham picture jakirkham  路  31Comments

vfaronov picture vfaronov  路  34Comments