[aur-general] Search for multiple words with the AUR RPC
Ricardo Band
email at ricardo.band
Sun Dec 24 01:05:57 UTC 2017
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Ahoi,
I'm trying to find out how I can search for multiple words with the AUR
RPC interface.
Using something like pacaur gives me 5 results:
pacaur -Ss unreal
bonus aur/unrealtournament-bonuspack1 20000225-3 (2, 0.00)
Bonuspack 1: The Epic Pack for Unreal Tournament.
aur/unrealtournament-bonuspack2 20000104-3 (2, 0.00)
Bonuspack 2: The Digital Extremes Pack for Unreal Tournament.
aur/unrealtournament-bonuspack3 20000511-3 (2, 0.00)
Bonuspack 3: The Inoxx Pack for Unreal Tournament.
aur/unrealtournament-bonuspack4 20001223-3 (2, 0.00)
Bonuspack 4: The Christmas 2000 Pack for Unreal Tournament.
aur/ut2004-cbp 1-1 (0, 0.00)
Community Bonus Pack 1 & 2 for Unreal Tournament 2004 (ut2004)
This only searches for bonus and gives me 6 results:
https://aur.archlinux.org/rpc/?v=5&type=search&by=name-desc&arg=unreal&arg=bonus
These searches for the exact term and gives me zero results:
https://aur.archlinux.org/rpc/?v=5&type=search&by=name-desc&arg=unreal,bonus
https://aur.archlinux.org/rpc/?v=5&type=search&by=name-desc&arg=unreal+bonus
https://aur.archlinux.org/rpc/?v=5&type=search&by=name-desc&arg=unreal%20bonus
This gives me an error saying "Query arg too small."
https://aur.archlinux.org/rpc/?v=5&type=search&by=name-desc&arg[]=unreal&arg[]=bonus
- --
Greetings
Ricardo Band
https:// www.ricardo.band
mailto:// email at ricardo.band
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEhyzgFNiV8yZuI1T5Gp1lfQa1gg4FAlo+/XUACgkQGp1lfQa1
gg6HcQ//bcYRik9CGscuAlBx2w4kdNpF14Nbg5b0CjQFd/hcKnYbxHvv8t8C5Ilb
AVcvw5+7SlNRulcK8kECGZex+pZ+Jh0+FnvVW81zJRcBDL906lQoR8isoU2w6UxT
q5U4LMC5oe+9xqi6dVT5HBSccYRcG3hx8KijADlDItg2/eOuFyCcxkvnMYpxR+LA
872I6tTOAE7pVbddCZy7xBIf28y1zbu1fVhi0sRIbB7wAOqkAIqr76iLBLYamL8M
QNUE3vAv32AReMmNyL9Uh0zpWRQPf28wgbas6QFrR92XVE+dZcrPSlDyVJWGNHCS
Tu5qXsiw7dJIEYbIgtUEcv0Eq8uf2Qi86kv6xllHd9pkw1x8/yY8T/0+mTaq0JIn
qodFUwELypVwNKoTMEGpYSbfLac78pn6Pbn/6JXh7Y27c3flEQtsBjudu5aUk7gj
S05OkWJbOTIaloCOsyl5pbsRN+RqZATqeMlpfsV5HfzGBBOCBw/C5GbIpd7uMx0k
KaEGAE4dFRNKy0frPCrvWDJ50IKjAdzQFsX9n8O2VC3gkAtHn0+wUrXOLjGOl6N3
SZabPAdasMRsLt9VWYoVbEt+xG3G/q2ZCqUgf95N7yZhWfqStVEYq+gyVUQVMIHX
vGATcZajxUAaHpNtDSrGR4fLlK+18j/gbd6xB+CE2uoqolBQ4TM=
=vzmY
-----END PGP SIGNATURE-----
More information about the aur-general
mailing list