ail-framework
ail-framework copied to clipboard
Question/Documentation/Usability: How does the search exactly work
In https://aildomain.tld:7000/search
I sometimes find stuff sometimes I don't. How does the search work exactly?
-
Is it possible to search also search for the name of a paste like in
https://pastebin.com/a68jmkq9
searching 'a68jmkq9' yields the paste ingested by ail? => This would be a great feature if this isnt already possible -
Is the serach dependant of the loaded index? If yes it would be also great to have the possibility to search in all indices.
A bit more detail or overhauled search site would help to highten usability.
The search in AIL is done by Whoosh and depending on the amount of data fed to AIL, can lead to large indexes that have to be split to keep the search somewhat fast.
- So yes, the search is dependent on the loaded index.
- You can really search for an item name but you can access it by playing a bit with the URL.
/showsavedpaste/?paste=[paste_name]
. Wherepaste_name
is generated by your feeder. For pystemon, it will probably be something likearchive/[source]/[date]/[id]
As far as I know, a complete rework of the search is planned on the long term roadmap.