Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • A aurweb
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Admin message

Due to an influx of spam, we have had to temporarily disable account registrations. Please write an email to accountsupport@archlinux.org, with your desired username, if you want to get access. Sorry for the inconvenience.

  • Marcus Andersson
  • aurweb
  • Repository
  • aurweb
  • doc
  • rpc.txt
Find file Blame History Permalink
  • Kevin Morris's avatar
    Support conjunctive keyword search in RPC interface · efe99dc1
    Kevin Morris authored Jul 05, 2020 and Lukas Fleischer's avatar Lukas Fleischer committed Feb 20, 2021
    Newly supported API Version 6 modifies `type=search` for _by_ type
    `name-desc`: it now behaves the same as `name-desc` search through the
    https://aur.archlinux.org/packages/ search page.
    
    Search for packages containing the literal keyword `blah blah` AND `haha`:
    https://aur.archlinux.org/rpc/?v=6&type=search&arg="blah blah"%20haha
    
    Search for packages containing the literal keyword `abc 123`:
    https://aur.archlinux.org/rpc/?v=6&type=search&arg="abc 123"
    
    The following example searches for packages that contain `blah` AND `abc`:
    https://aur.archlinux.org/rpc/?v=6&type=search&arg=blah%20abc
    
    The legacy method still searches for packages that contain `blah abc`:
    https://aur.archlinux.org/rpc/?v=5&type=search&arg=blah%20abc
    https://aur.archlinux.org/rpc/?v=5&type=search&arg=blah%20abc
    
    API Version 6 is currently only considered during a `search` of `name-desc`.
    
    Note: This change was written as a solution to
    https://bugs.archlinux.org/task/49133
    
    .
    
    PS: + Some spacing issues fixed in comments.
    
    Signed-off-by: default avatarKevin Morris <kevr.gtalk@gmail.com>
    Signed-off-by: default avatarLukas Fleischer <lfleischer@archlinux.org>
    efe99dc1