When I execute the following search I get zero hits:
where ($field like 'two-phase flow w/12') and ($field like 'steam generator w/12')
But when I execute this search, I get many hits:
where ($field like '+two-phase +flow w/12') and ($field like '+steam +generator w/12')
I thought that since the "relative" weighting in both cases was equal between terms, I should have gotten the same number of hits in both cases. Please explain the difference.
Are you using a custom equiv where "steam generator" or "two-phase flow" would be known as phrases? If so, the + will force them to be treated as individual terms instead of a phrase.
What non-default apicp, sqlcp, and sql set settings are you using?
Do you get any error or warning messages in the HTML source of the results document when doing either query?
Try turning on <tracesql 2> or <tracesql 3> to confirm the actual sql being executed.
Does it do the same thing in tsql? (if so, what does tsql -V -V have to say about index usage?)
I think you want <apicp intersects -1> not 255. -1 means max for the supplied query. Anything else is an exact number. (The current vortex docs show the wrong default value. I'm guessing that's where you got 255.) It's not very often you can find 255 intersections of 2 terms
BTW, I didn't try to parse your if's. Please just supply the actual settings being used in the future.