CINXE.COM
NZOR - Search Names
<!DOCTYPE html> <html lang="en"> <head> <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-WY063BYKWV"></script> <script> window.dataLayer = window.dataLayer || []; function gtag() { dataLayer.push(arguments); } gtag('js', new Date()); gtag('config', 'G-WY063BYKWV'); </script> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="description" content="New Zealand Organism Register NZOR Web Services"> <title>NZOR - Search Names</title> <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" /> <link rel="stylesheet" href="/lib/bootstrap/dist/css/bootstrap.min.css" /> <link rel="stylesheet" href="/css/site.css?v=3MT3aEo64w9nq6MaL64dZPJBFYztrKO-d89M-yoX60M" /> <link rel="stylesheet" href="/nzor.web.styles.css?v=M08h6aXVy1kGo4IOmpielYD7z1trMd_roDb9iW3nlW4" /> </head> <body> <div b-xaw93ul0g7 class="container"> <header b-xaw93ul0g7> <nav b-xaw93ul0g7 class="navbar navbar-expand-md navbar-toggleable-sm navbar-light bg-white mb-3"> <div b-xaw93ul0g7 class="container-fluid"> <a class="navbar-brand" href="/"> <img class="d-none d-lg-flex" src="/images/nzor-logo-80.png" alt="NZOR" /> <img class="d-flex d-lg-none" src="/images/nzor-logo-50.png" alt="NZOR" /> </a> <button b-xaw93ul0g7 class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target=".navbar-collapse" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> <span b-xaw93ul0g7 class="navbar-toggler-icon"></span> </button> <div b-xaw93ul0g7 class="navbar-collapse collapse d-sm-inline-flex justify-content-between"> <ul b-xaw93ul0g7 class="navbar-nav flex-grow-1 justify-content-end"> <li b-xaw93ul0g7 class="nav-item me-2"> <a class="nav-link text-dark fw-bold" href="/"> <img b-xaw93ul0g7 src="/lib/bootstrap-icons/house-fill.svg"> Home </a> </li> <li b-xaw93ul0g7 class="nav-item dropdown me-2"> <a b-xaw93ul0g7 class="nav-link text-dark fw-bold dropdown-toggle" href="#" id="navbarDropdownMenuLink" role="button" data-bs-toggle="dropdown" aria-expanded="false"> <img src="/lib/bootstrap-icons/card-heading.svg"> About </a> <ul b-xaw93ul0g7 class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink"> <li b-xaw93ul0g7><a class="dropdown-item" href="/what-is-nzor">What is NZOR</a></li> <li b-xaw93ul0g7><a class="dropdown-item" href="/why-do-we-need-nzor">Why do we need NZOR</a></li> <li b-xaw93ul0g7><a class="dropdown-item" href="/where-is-nzor">Where is NZOR</a></li> <li b-xaw93ul0g7><a class="dropdown-item" href="/what-data-is-provided">What data is provided</a></li> <li b-xaw93ul0g7><a class="dropdown-item" href="/who-is-nzor">Who is NZOR</a></li> <li b-xaw93ul0g7><a class="dropdown-item" href="/history-and-future">History and future</a></li> <li b-xaw93ul0g7><a class="dropdown-item" href="/data-quality-and-use">Data quality, use, and attribution</a></li> <li b-xaw93ul0g7><a class="dropdown-item" href="/how-can-i-use-nzor">How can I use NZOR</a></li> <li b-xaw93ul0g7><a class="dropdown-item" href="/contact-us">Contact us</a></li> <li b-xaw93ul0g7><a class="dropdown-item" href="/glossary">Glossary</a></li> </ul> </li> <li b-xaw93ul0g7 class="nav-item me-2 fw-bold"> <a class="nav-link text-dark" href="/search"> <img src="/lib/bootstrap-icons/search.svg"> Search </a> </li> <li b-xaw93ul0g7 class="nav-item me-2 fw-bold"> <a class="nav-link text-dark" href="/downloads"> <img src="/lib/bootstrap-icons/download.svg"> Download </a> </li> <li b-xaw93ul0g7 class="nav-item me-2 fw-bold"> <a class="nav-link text-dark" href="/matches"> <img src="/lib/bootstrap-icons/arrow-left-right.svg"> Matching </a> </li> <li b-xaw93ul0g7 class="nav-item fw-bold"> <a class="nav-link text-dark" href="/statistics"> <img src="/lib/bootstrap-icons/bar-chart-line.svg"> Statistics </a> </li> </ul> </div> </div> </nav> </header> </div> <hr b-xaw93ul0g7 /> <div b-xaw93ul0g7 class="container"> <main b-xaw93ul0g7 role="main" class="pb-3"> <div class="container border rounded p-3 mb-3"> <h3 class="mb-3"> Search NZOR </h3> <form method="get" action="/search"> <div class="input-group input-group-lg mb-3"> <input id="query" name="query" type="text" autofocus autocomplete="off" class="form-control" placeholder="Search names..." aria-label="Search names"> <button class="btn btn-primary" type="submit">Search</button> </div> <div class="form-check"> <input class="form-check-input" type="checkbox" id="usefuzzymatching" name="usefuzzymatching"> <label class="form-check-label" for="usefuzzymatching"> Use Fuzzy Matching </label> </div> </form> </div> </main> </div> <footer b-xaw93ul0g7 class="border-top footer"> <div b-xaw93ul0g7 class="container"> <div b-xaw93ul0g7 class="row pt-3"> <div b-xaw93ul0g7 class="col"> <div b-xaw93ul0g7 class="mb-2"> Version: 3.0.0-build-1823-master </div> <div b-xaw93ul0g7> Web Service Url: <a b-xaw93ul0g7 href="https://data.nzor.org.nz" target="_blank">https://data.nzor.org.nz</a> </div> </div> <div b-xaw93ul0g7 class="col"> <span b-xaw93ul0g7><a b-xaw93ul0g7 href="https://manaakiwhenua.atlassian.net/wiki/spaces/nzor" target="_blank"><img src="/lib/bootstrap-icons/file-text-fill.svg" alt="Terms of use" /> Documentation</a></span> <span b-xaw93ul0g7> | </span> <span b-xaw93ul0g7><a href="/terms-of-use"><img src="/lib/bootstrap-icons/puzzle-fill.svg" alt="Terms of use" /> Terms of Use</a></span> <span b-xaw93ul0g7> | </span> <span b-xaw93ul0g7><a href="/contact-us"><img src="/lib/bootstrap-icons/envelope-fill.svg" alt="Contact us" /> Contact Us</a></span> </div> </div> </div> </footer> <script src="/lib/jquery/dist/jquery.min.js"></script> <script src="/lib/bootstrap/dist/js/bootstrap.bundle.min.js"></script> <script src="/js/site.js?v=BxFAw9RUJ1E4NycpKEjCNDeoSvr4RPHixdBq5wDnkeY"></script> <script type="text/javascript" src="/lib/bootstrap-autocomplete/bootstrap-autocomplete.min.js"></script> <script type="text/javascript"> $(document).ready(function () { $('#query').autoComplete({ resolver: 'custom', events: { search: function (qry, callback) { $.ajax( '/search/autocomplete', { data: { 'query': qry } } ).done(function (res) { callback(res) }); } } }); $(document).on("click", ".apply-filterquery", function () { applyFilterQuery($(this).attr("data-filterquery-name"), $(this).attr("data-filterquery-value")); }); $(document).on("click", ".remove-filterquery", function () { removeFilterQuery($(this).attr("data-filterquery-name"), $(this).attr("data-filterquery-value")); }); $(document).on("click", ".goto-page", function () { pageResults($(this).attr("data-page")); }); $(document).on("change", ".select-orderby", function () { applySearch(); }); $(document).on("change", ".select-pagesize", function () { applySearch(); }); const filterQueriesQueryParameters = new URLSearchParams(window.location.search).getAll("filterquery"); filterQueries = filterQueriesQueryParameters; }); var filterQueries = []; function applySearch(page) { let parameters = []; const query = $('#query').val(); const orderBy = $('#orderby').val() ?? "score desc"; const pageSize = $('#pagesize').val(); parameters.push('query=' + standardiseUriEncoding(query)); if (orderBy) { parameters.push('orderby=' + orderBy); } if (pageSize) { parameters.push('pagesize=' + pageSize); } if (page && page > 1) { parameters.push('page=' + page); } if (filterQueries != null && filterQueries.length > 0) { parameters.push('filterquery=' + filterQueries.join("&filterquery=")); }; let url = "?" + parameters.join("&"); window.open(url, '_self'); }; // Apply the facet and reload the page. function applyFilterQuery(filterQueryName, filterQueryValue) { event.stopPropagation(); let delimitedFilterQueryName = standardiseUriEncoding(filterQueryName); let delimitedFilterQueryValue = standardiseUriEncoding(filterQueryValue); let delimitedFilterQuery = `${delimitedFilterQueryName}:${delimitedFilterQueryValue}`; var index = $.inArray(delimitedFilterQuery, filterQueries); if (index < 0) { filterQueries.push(delimitedFilterQuery); } applySearch(); }; // Remove the facet from the applied facets and reload the page. function removeFilterQuery(filterQueryName, filterQueryValue) { event.stopPropagation(); let delimitedFilterQueryName = standardiseUriEncoding(filterQueryName); let delimitedFilterQueryValue = standardiseUriEncoding(filterQueryValue); let delimitedFilterQuery = `${delimitedFilterQueryName}:${delimitedFilterQueryValue}`; var index = $.inArray(delimitedFilterQuery, filterQueries); if (index >= 0) { filterQueries.splice(index, 1); } applySearch(); } function standardiseUriEncoding(text) { return encodeURIComponent(decodeURIComponent(text.trim())).replace(/%3A/g, ":").replace(/%20/g, "+").replace(/%2B/g, "+"); } function pageResults(page) { applySearch(page); } </script> </body> </html>