-
Notifications
You must be signed in to change notification settings - Fork 3
Search is inconsistent #33
Comments
@vikasrohit Please check this out. This is to support search in the challenges.topcoder-dev.com UI. Let me know if we're doing something wrong with the way we're searching project names, or if you can get this on the list to fix soon. |
@rootelement @jmgasper there is support for searching by subwords also, the searching term can be wrapped into asterisks like
|
@maxceem - I'll let @rootelement decide if we want that to be the default. I don't see any use case where we'd be searching for whole-words only, so it doesn't make sense to have that be the default functionality. |
Thanks @jmgasper for raising the issue and thanks @maxceem for the answer. @jmgasper @rootelement I am more inclined towards using wild cards while searching the term because that allows us to have both features: matching exact word and matching part of the word. And @jmgasper, I think there are cases where we need to match exact search terms instead of partials and infact we are using that right now in Connect e.g. when you are searching for all projects where a particular member is involved in, in such case you would tend to type the full handle of the member without any other wild cards and if we by default search for partial words, it would result in too many projects (consider a topcoder employee who has all projects access). We can not default to tokenize all possible sub words of a word. We do treat two different words in the search as separate key terms and search results are based on typical search engine algo where you would find projects with both words or single words. |
Ok - we'll update the challenge engine UI. |
The search appears inconsistent, in that it's not matching partial words, only whole words.
Working
This search for
mobility
works and returns the expected project, using an auth token forTonyJ / appirio123
in dev:https://api.topcoder-dev.com/v5/projects?name=mobility&sort=lastActivityAt&status=active
Doesn't work
This search for
mobil
, which is a substring ofmobility
does NOT workExpectation
The search should:
The text was updated successfully, but these errors were encountered: