Open joakimlindblad opened 3 years ago
I believe it is because it is cnfigured to return also non software entries , and that the table view than does not have the same field to display (such as dataset or training material, which does not have th field title for example with the exact same machine identifier as for software entries. Two solutions here: either editing the view such that it is restricted to software entries, either adding the matching field for dataset and training so they would appear formatted the same way.
for the biii gui I suggest the latter it's a free text search, it should give other results than softwares
for the json response, it's enough to include type in the response
Actually this was not the problem. This commit add a column with the entry type in the search results : c29b061db56a24f7f798e53b60fb4c42d7778fe9 I am now investigating the empty lines
The problem was that taxonomy term was also returned, (they are searched in any case in content). Fixed by aa5c05326ba98e47a930dad876181cf5954b6227 (note that a reindexing is needed )
When using full text search, in GUI or API, empty items are appearing in the response. See examples below:
Search for "visualization", empty item with score 5 after "Paintera", and item with score 4 two lines further down. http://biii.eu/search?search_api_fulltext=visualization
Same search with JSON export, empty item highlighted: http://biii.eu/searchjsonexport?search_api_fulltext=(?=visualization)&_format=json