Jump to content

Recommended Posts

Posted

When doing an OR search like

text~=A|B|C

This gives results that contains just "A", as well as "A B C". The results gets ordered in whatever manner they are ordered in the CMS, unless specifically sorted on a field. What I want, however, is to show the results that contain "A B C" first, then the results that contain "A C", "B C", "A B" afterwards, and then finally the results that contain only "A", or "B" or "C"

possible? Thanks!

Bonus points for being able to de-emphasize filler words like "my", "if", etc. But I realize this might be a bit too advanced?

 

Posted

i'm not an expert. But a workaround would be to have different search results in different arrays.
First searching for abc. An then searching for ab, ac, bc inside abc and so on

  • 2 weeks later...
Posted

Yes, that's one way - but slow. Four words would be a lot of searches, then some PageArray gymnastics to remove duplicates...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...