| Summary: | Marketplace Search API ignores category | ||
|---|---|---|---|
| Product: | Community | Reporter: | Carsten Reckord <reckord> |
| Component: | Marketplace | Assignee: | Marketplace Inbox <marketplace-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | chris.guindon |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Carsten Reckord
(In reply to comment #0) > The apache_solr search API currently ignores the category and only filters > by market. This is regardless of the order in which category and market are > listed in the query. > > http://marketplace.eclipse.org/api/p/search/apachesolr_search/ > WikiText?filters=tid:31%20tid:38 (WikiText in "Mylyn Connectors" category > and "Tools" market) results in > > <node id="1065" name="Mylyn WikiText" > url="http://marketplace.eclipse.org/content/mylyn-wikitext"> > <node id="570" name="Textile-J" > url="http://marketplace.eclipse.org/content/textile-j"> > <node id="99020" name="Trac Wiki Editor 4 Eclipse" > url="http://marketplace.eclipse.org/content/trac-wiki-editor-4-eclipse-0"> > > but only the first node actually has the correct category. Filtering only by > category doesn't work either. > > The MPC test covering this search started failing around the time the fix > for bug 402027 went public, so those two might be related. You are correct! I applied a patch and now searching for WikiText in "Mylyn Connectors" category and "Tools" market only returns 1 listing. Can you confirm that your test are passing now? Yes, I can confirm that it's working now. Thanks! (In reply to comment #2) > Yes, I can confirm that it's working now. Thanks! Great! thanks for reporting this! |