Opened 11 years ago

Closed 11 years ago

#19529 closed Bug (duplicate)

Searching documentation for "class based views" gives ten times the same result

Reported by: wim@… Owned by: nobody
Component: Documentation Version: dev
Severity: Normal Keywords: documentation, search
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

When searching for "classed base views" in the django documentation development trunk, the same page is shown ten times in the list of results.

See:

https://docs.djangoproject.com/search/?q=class+based+views&release=1

Change History (7)

comment:1 by Florian Apolloner, 11 years ago

Triage Stage: UnreviewedAccepted

Indeed, that's not exactly optimal ;)

comment:2 by Aymeric Augustin, 11 years ago

Resolution: fixed
Status: newclosed

I've rebuilt the search indexes and the problem appears to be fixed.

comment:3 by Aymeric Augustin, 11 years ago

Resolution: fixed
Status: closednew

This re-appeared after the next execution of the cron.

comment:4 by Tim Graham, 11 years ago

Are we using the latest version of whoosh? Apparently there is a bug in older versions, although someone claims this problem may still exist. I cannot reliably reproduce this using whoosh 2.4.1.

https://bitbucket.org/mchaput/whoosh/issue/97/search-index-contains-a-lot-of-duplicates

comment:5 by Aymeric Augustin, 11 years ago

As discussed on IRC, xapian is used in production, whoosh in development.

Versions are pinned in the requirements file.

comment:6 by Aymeric Augustin, 11 years ago

I strongly suspect #18930 is the root cause for the problem discussed here.

comment:7 by Aymeric Augustin, 11 years ago

Resolution: duplicate
Status: newclosed

This was fixed by the fix for #18930.

Note: See TracTickets for help on using tickets.
Back to Top