Closed Bug 713210 Opened 13 years ago Closed 12 years ago

APPS- Unexpected error when trying to sort the apps by name.

Categories

(addons.mozilla.org Graveyard :: Search, defect, P2)

ACR-0.9
x86
Windows XP
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: vcarciu, Assigned: cvan)

References

()

Details

Attachments

(2 files)

Attached image Attachment
Prerequisites:
FF9

Steps to reproduce:
1.Go to APPS home page in production : https://apps-preview.mozilla.org/
2.Sign in with some valid credentials
3.Type a broad search criteria into the "search for apps" text field(i.e. do a blank search).
4.Try to sort the apps by "More-Name"

Expected results:
Apps are sorted by name without any issue

Actual results:
An error is displayed and apps are not sorted. 
Please see the attached screenshot.
Traceback:
Failed to execute phase [query], total failure; shardFailures {[1o-efU8BRiCoZ5NiBkkgUw][addons_appspreview][1]: RemoteTransportException[[Infinity][inet[/10.8.81.68:9300]][search/phase/query]]; nested: QueryPhaseExecutionException[[addons_appspreview][1]: query[ConstantScore(*:*)],from[0],size[20],sort[<custom:"name_sort": org.elasticsearch.index.field.data.strings.StringFieldDataType$1@30d8d8d5>]: Query Failed [Failed to execute main query]]; nested: IOException[Can't sort on string types with more than one value per doc, or more than one token per field]; }{[doLwowxQT2yRJMbdQBkulw][addons_appspreview][3]: RemoteTransportException[[Druid][inet[/10.8.81.67:9300]][search/phase/query]]; nested: QueryPhaseExecutionException[[addons_appspreview][3]: query[ConstantScore(*:*)],from[0],size[20],sort[<custom:"name_sort": org.elasticsearch.index.field.data.strings.StringFieldDataType$1@13676fca>]: Query Failed [Failed to execute main query]]; nested: IOException[Can't sort on string types with more than one value per doc, or more than one token per field]; }{[1o-efU8BRiCoZ5NiBkkgUw][addons_appspreview][0]: RemoteTransportException[[Infinity][inet[/10.8.81.68:9300]][search/phase/query]]; nested: QueryPhaseExecutionException[[addons_appspreview][0]: query[ConstantScore(*:*)],from[0],size[20],sort[<custom:"name_sort": org.elasticsearch.index.field.data.strings.StringFieldDataType$1@3c5d654d>]: Query Failed [Failed to execute main query]]; nested: IOException[Can't sort on string types with more than one value per doc, or more than one token per field]; }{[doLwowxQT2yRJMbdQBkulw][addons_appspreview][2]: RemoteTransportException[[Druid][inet[/10.8.81.67:9300]][search/phase/query]]; nested: QueryPhaseExecutionException[[addons_appspreview][2]: query[ConstantScore(*:*)],from[0],size[20],sort[<custom:"name_sort": org.elasticsearch.index.field.data.strings.StringFieldDataType$1@7bda794>]: Query Failed [Failed to execute main query]]; nested: IOException[Can't sort on string types with more than one value per doc, or more than one token per field]; }{[doLwowxQT2yRJMbdQBkulw][addons_appspreview][4]: RemoteTransportException[[Druid][inet[/10.8.81.67:9300]][search/phase/query]]; nested: QueryPhaseExecutionException[[addons_appspreview][4]: query[ConstantScore(*:*)],from[0],size[20],sort[<custom:"name_sort": org.elasticsearch.index.field.data.strings.StringFieldDataType$1@1f50dcfa>]: Query Failed [Failed to execute main query]]; nested: IOException[Can't sort on string types with more than one value per doc, or more than one token per field]; }

http://arecibo1.dmz.phx1.mozilla.com/view/152088/

Somehow, this works fine on -dev: https://apps-preview-dev.allizom.org/en-US/apps/search/?sort=name
Component: Public Pages → Search
QA Contact: web-ui → search
Assignee: nobody → cvan
Target Milestone: --- → 6.3.7
Blocks: 718560
No longer blocks: 710074
Priority: -- → P2
Target Milestone: 6.3.7 → 6.3.8
https://github.com/mozilla/zamboni/commit/84184ec

Pushed changes to our elasticsearch admin tool that allows us to rebuild the index and redo the mapping. Will close this once we do an apps-preview push and I recreate the index.
Target Milestone: 6.3.8 → 6.4.0
https://apps-preview.mozilla.org/en-US/apps/search/?sort=name

Works now!
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Verified as fixed.
Status: RESOLVED → VERIFIED
Attached image Postfix screenshot.
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: