matthaywardwebdesign / aus-search

A collection of Node JS scripts to create an Elasticsearch index of Australian addresses.
MIT License
81 stars 20 forks source link

Question About Importing #4

Open aryavk opened 6 years ago

aryavk commented 6 years ago

Ive run the procedure for the latest GNAF files to import all the data.

In the GNAF extracted files i can see records for things like:

NSW_ADDRESS_DETAIL_psv.psv:GANSW717812959|2009-07-14|2016-08-07||||||||||L||5|||580|||||NSW2845405||NSW3749|P|2000||20//DP835715|0|713193646|7|||S

But when I search based on that id: GANSW717812959, or by the address with the level, it is not showing up. (I'm finding this with buildings mainly)

Is there any known issues with the levels not importing properly? or being searchable correctly?

matthaywardwebdesign commented 6 years ago

Hey @aryavk! What are you using for your search query? The ID's aren't indexed if memory serves me correctly.

aryavk commented 6 years ago

Hey,

I've tried a few different criteria.

Level 5, 580 George Street 580 George street And by the id.

I've tried I'd searches for successful returns and the ID search actually does work, which makes it handy.

Not sure if something went funny on my imports but everything did go in successfully. (I had to change the URL and directory maths in the download.sh script to point at the new downloads of gnaf)