Awesome product and great site. Thanks for maintaining it.
I have a relevancy that is providing 4 different results. I only want the last out of the list. For the life of me I can’t figure out how! It’s most likely very easy…
Is there a list of ALL available keywords used in relevancies? I have spent time with the fixlet authoring guide but no matter where I look I see a new verb being used. Is there a single location to see all possible verbs?
Due to the underlying implementation of the relevance engine, “ordered” operations are not really supported by the language. For example one side effect you’ll notice is that there are no sorting inspectors. Although you might see that a certain result always appears last in the result list, the engine provides no guarantee that will always be the case. In CS terms, the engine is stack based rather than heap based. There are some key design reasons we made that compromise, primarily speed and memory usage.
That also means there are no “first” , “last” , or range “x-to-y” inspectors. So you actually are not missing anything.
So what do you do when the base environment doesn’t provide a native mechanism? You hack…
If there are only a couple results for you query, you can do something like this:
following text of last “||” of concatenation “||” of
That will make a single string out of your results and then use the string parsing inspectors to bring back only the last one.