box464, (edited )
@box464@mastodon.social avatar

I'm playing around with mastodon 4.2 advanced search, digging into the code a bit. Really trying to do some trickery here but the devs have it pretty well locked down to exactly what is documented. I thought I could inject some elasticsearch precedence or other patterns but those are purely ignored (or cause issues with the search)

Honestly not sure if I'm even using the right syntax but looks close.

https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-simple-query-string-query.html

cheeaun,
@cheeaun@mastodon.social avatar

@box464 I’ve been waiting so long for the “OR” operator to work 😩

xeraa,

@cheeaun @box464 I guess the feature is just one PR away 😬
and while it makes sense to keep queries very cheap and not overload elasticsearch with anything funky, I also wanted that feature last week...

box464,
@box464@mastodon.social avatar

@xeraa @cheeaun From playing around, it feels like using NOT operators are already pretty expensive to utilize. (+rain -spain)

Will be tough to add OR without more space and memory for sure!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • DreamBathrooms
  • ethstaker
  • osvaldo12
  • magazineikmin
  • GTA5RPClips
  • rosin
  • mdbf
  • Youngstown
  • Durango
  • slotface
  • everett
  • kavyap
  • InstantRegret
  • thenastyranch
  • provamag3
  • tacticalgear
  • modclub
  • cisconetworking
  • tester
  • cubers
  • khanakhh
  • ngwrru68w68
  • megavids
  • normalnudes
  • anitta
  • Leos
  • JUstTest
  • lostlight
  • All magazines