VertNet / webapp

VertNet web application
8 stars 7 forks source link

"none of these words" query behavior #324

Closed tucotuco closed 9 years ago

tucotuco commented 11 years ago

Suppose I want to query for specimens where country=France, but that are not from New Caledonia. I would expect that I could enter an advanced search that gets encoded as:

country:France AND (Caledonia)

to achieve this, as I would expect this to be all records where the country equals "France" and do not contain "Caledonia" in the content of the record. Is this not true?

eightysteele commented 11 years ago

try this:

country:france AND (NOT Caledonia)

success?

tucotuco commented 11 years ago

I see. The greyed model patterns in the advanced search text box must be followed. The lazy tendency (busted) is to just enter your word, especially since the model pattern disappears as soon as one types. I don't want to say this, but perhaps we need a query syntax help page with plenty of examples.

On Wed, Aug 14, 2013 at 11:20 AM, Aaron Steele notifications@github.comwrote:

try this:

country:france AND (NOT Caledonia)

success?

— Reply to this email directly or view it on GitHubhttps://github.com/VertNet/webapp/issues/324#issuecomment-22638835 .

tucotuco commented 9 years ago

Help pages have been published, though it would be good to have brief help dialogs available from help icons on the advanced search page.