Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Smart Search issue with auto suggest. #33

Open
Ramaraju-Kalidindi-REISYS opened this issue Jun 17, 2014 · 1 comment
Open

Smart Search issue with auto suggest. #33

Ramaraju-Kalidindi-REISYS opened this issue Jun 17, 2014 · 1 comment

Comments

@Ramaraju-Kalidindi-REISYS
Copy link
Contributor

the vendor Perfetto Enterprises Company Inc. seems to have 764,222 contracts. It actually has 27 contracts for FY 2014. This happened when we entered Google Inc. and Covanta into the smart search bar as well. Because it happens randomly, it is not easy to recreate the problem simply by searching by one of the vendors where we have seen the problem before.

@Ramaraju-Kalidindi-REISYS
Copy link
Contributor Author

These are two different use cases.

  1. if we choose "PERFETTOENTERPRISESCOMPANY INC" from the autocomplete box we get 27 results as we have narrowed down to a specific vendor
    http://checkbooknyc.com/smart_search?search_term=*|*vendor_names=perfetto%2Benterprises%2Bcompany%2Binc

  2. If we type the full name "" in search box and hit search button the search is free text and search for all words "perfetto, enterprises, company and inc" in all text fields.
    http://checkbooknyc.com/smart_search?search_term=PERFETTO%2BENTERPRISES%2BCOMPANY%2BINC

The url in the search bar matches the second case. This what might have happened.
a) The search bar value is populated from drop down.
b) Then the focus is taken away from the search box using arrow keys or clicking anywhere else.
c) Then the search bar treats the search as free text.

This was implemented by design. We will look at alternatives to change this behavior.

refer to this url for complete discussion on google groups.
https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/checkbooknyc/iLNpOe1lGwU/81UstuzoYEMJ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant