I want to select all buildings which don't have an address set. To find those, I want to seach for -addr:street=*, but this yields an unexpected token: <equals>.

How can I seach for this?

asked 08 Oct, 18:58

Pieter%20Vander%20Vennet's gravatar image

Pieter Vande...
13114
accept rate: 0%


By now, I've found the answer: put key:subkey in double quotes. The search query thus becomes

    -"addr:street"=*
permanent link

answered 08 Oct, 18:59

Pieter%20Vander%20Vennet's gravatar image

Pieter Vande...
13114
accept rate: 0%

Without the quotes it the colon is taken as the binary operator from the key:valuefragment syntax. (That syntax documented in the search dialog.)

(08 Oct, 20:18) dsh4
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×404
×136
×11

question asked: 08 Oct, 18:58

question was seen: 91 times

last updated: 08 Oct, 20:18

powered by OSQA