2019-02-16

if:keyword!add_keywords_on_true!add_keywords_on_false.

This seems interesting if:keyword!add_keywords_on_true!add_keywords_on_false
But where or how would you implement this? It does work if you just enter it in the search bar but I get feeling this could be used somewhere else.
How or where could this be used to influence something that a visitor entered into the search box?
(Edited: 2019-02-16)
This seems interesting if:keyword!add_keywords_on_true!add_keywords_on_false But where or how would you implement this? It does work if you just enter it in the search bar but I get feeling this could be used somewhere else. How or where could this be used to influence something that a visitor entered into the search box?
2019-02-24

-- if:keyword!add_keywords_on_true!add_keywords_on_false
I was mainly imagining this being useful in terms of crawl mixes. The example I give in the documentation is:
 if:oracle!info:https://oracle.com/!site:none
So if the search contains the word oracle, one is restricted to the oracle site via the meta word info:https://oracle.com/; otherwise, one gets the empty result because site:none is always false. You could imagine having crawl mixes built out of many fragments (disjunctions) with rules like this to focus the search results.
I was mainly imagining this being useful in terms of crawl mixes. The example I give in the documentation is: if:oracle!info:https://oracle.com/!site:none So if the search contains the word oracle, one is restricted to the oracle site via the meta word info:https://oracle.com/; otherwise, one gets the empty result because site:none is always false. You could imagine having crawl mixes built out of many fragments (disjunctions) with rules like this to focus the search results.

-- if:keyword!add_keywords_on_true!add_keywords_on_false
Sorry but I'm not understanding where a statement like this might be put. You mention Mix Crawls and I understand your thinking but does this go into the "keywords" entry in the Mix Crawl or somewhere else?
I'm sorry but I'm a little slow sometimes
Sorry but I'm not understanding where a statement like this might be put. You mention Mix Crawls and I understand your thinking but does this go into the "keywords" entry in the Mix Crawl or somewhere else? I'm sorry but I'm a little slow sometimes
2019-02-28

-- if:keyword!add_keywords_on_true!add_keywords_on_false
Yes, you could add it to keywords in a fragment. You could then have multiple fragments. So for example, you could have one fragment with the keyword above, which would restrict oracle searches to the oracle website, then have another fragment restricting ibm searches to the ibm site. Finally, have a fragment which specifies an index but doesn't inject keywords. If we don't get enough results from the first two fragments then this search would fill in the rest.
Yes, you could add it to keywords in a fragment. You could then have multiple fragments. So for example, you could have one fragment with the keyword above, which would restrict oracle searches to the oracle website, then have another fragment restricting ibm searches to the ibm site. Finally, have a fragment which specifies an index but doesn't inject keywords. If we don't get enough results from the first two fragments then this search would fill in the rest.

-- if:keyword!add_keywords_on_true!add_keywords_on_false
Thank you! I will do some experimenting
Thank you! I will do some experimenting
X