Sunday, 2 June 2013

MS full text search - building a query from a user input string with standard FTS rules

My search requirements have the three most common scenarios:
words should be seperated and results should be ordered by their proximity
“” - words between quotemarks should apppear together
(-) Sign - word must not appear in the result
(*) - wild card.
Now,
1 and 4 will be possible just by sending the user string in a FREETEXT predicate.
Should I edit all the phrases between "" and put them in a newar condition and
edit out the (-) to a not condition?
Is that the best practice?How to plot this doublet 3D surface with pgfplots?

I have the task to plot this mathematical object
(x',y') = (4x, y/4)
and I'd like to do so with pgfplots. I know of \addplot3, but I have, after reading the manual section for this command, still no idea how to do it. As far as I understood it, \addplot3 needs one function of x and y (like x*y) or a triplet (x,y,z) (like (5*x,3*y,z)), but what to do with a doublet, like in my case?

No comments:

Post a Comment