search api

We have a folder with 95 items in it. When I get a directory listing of it:

/api/2/search/path/backup/keywords=zip

I get the correct number of items but I get about 6 duplicates and some items missing.

2replies Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
  • Are the missing items on the next page? By default it will return 25 results per page. You can increase this by passing a higher limit.

    /api/2/search/path/backup/?keywords=zip&limit=50
    
    Reply Like
  • No it is a definite bug. In our case there are in fact 95 files which comes back in 4 pages. The problem is that some of the filename details are duplicated and some files don't appear. For example we might get 6 files duplicated and 6 files not present. It is quite random which files get duplicated but if you look at the xml it will get duplicated to the same position on the following page. For example a file on position 3 on page 1 will get duplicated as position 3 on page 2 and the file that should have been on page 2 will have gone missing.

    Reply Like
Like Follow
  • 5 yrs agoLast active
  • 2Replies
  • 814Views
  • 2 Following