├── .gitignore ├── README.md ├── config └── geostore-datasource-ovr-postgres.properties ├── docker-compose.yml └── solr_conf ├── _rest_managed.json ├── admin-extra.html ├── core.properties ├── elevate.xml ├── mapping-ISOLatin1Accent.txt ├── protwords.txt ├── schema.xml ├── scripts.conf ├── solrconfig.xml ├── spellings.txt ├── stopwords.txt ├── stopwords_en.txt ├── synonyms.txt └── xslt ├── example.xsl ├── example_atom.xsl ├── example_rss.xsl └── luke.xsl /.gitignore: -------------------------------------------------------------------------------- 1 | data 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # GIS Dockerized 2 | 3 | The goal of this project is to provide an easy way to stand up several useful GIS services for folks to learn & explore with. 4 | 5 | ## Getting Started 6 | 7 | You will need the following installed: 8 | 9 | - [Docker](https://www.docker.com) 10 | 11 | Once Docker is up and running, do the following: 12 | 13 | ```bash 14 | $ git clone git@github.com:lostmapper/gis-dockerized.git 15 | $ cd gis-dockerized 16 | $ docker compose up 17 | ``` 18 | 19 | This will download and run the services defined in `docker-compose.yml`. 20 | 21 | You can shut down the containers using Control-C. 22 | 23 | ## Included Services 24 | 25 | | Service | Name | URL | Username | Password | Data Location | 26 | |-----------|-------------|----------------------------------------|----------|------------|------------------| 27 | | GeoServer | `geoserver` | | `gis` | `password` | `data/geoserver` | 28 | | MapStore | `mapstore` | | `admin` | `admin` | PostGIS | 29 | | PostGIS | `postgis` | N/A | `gis` | `password` | `data/postgis` | 30 | | Solr | `solr` | | N/A | N/A | `data/solr` | 31 | 32 | Note: Wherever possible a service's data is stored on the host machine so it persists between runs. 33 | 34 | 35 | ### GeoServer (geoserver) 36 | 37 | > [GeoServer](https://geoserver.org) is an open source server for sharing geospatial data. 38 | 39 | Once the service is running you can access GeoServer at 40 | 41 | The REST API is available at 42 | 43 | #### Credentials 44 | 45 | The credentials for logging in as the GeoServer admin are: 46 | 47 | - Username: `gis` 48 | - Password: `password` 49 | 50 | #### Data 51 | 52 | GeoServers's data is stored in `data/geoserver`. 53 | 54 | Demo data is enabled by default to facilitate learning & using the service right out of the box. 55 | 56 | #### Configuration 57 | 58 | Configuration options for the GeoServer Docker image can be found at . 59 | 60 | ### MapStore (mapstore) 61 | 62 | > [MapStore](https://docs.mapstore.geosolutionsgroup.com/) is a highly modular Open Source WebGIS framework to create, manage and securely share maps and mashups. 63 | 64 | Once the service is running you can access MapStore at 65 | 66 | #### Credentials 67 | 68 | The credentials for logging in as the MapStore admin are: 69 | 70 | - Username: `admin` 71 | - Password: `admin` 72 | 73 | #### Data 74 | 75 | MapStore's data is stored in the PostGIS database describe below. 76 | 77 | ### PostGIS (postgis) 78 | 79 | > [PostGIS](https://postgis.net) extends the capabilities of the PostgreSQL relational database by adding support for storing, indexing, and querying geospatial data. 80 | 81 | Once the service is running you can access PostGIS at `localhost` on port `5432` 82 | 83 | To connect with [psql](https://www.postgresql.org/docs/current/app-psql.html), use the following: 84 | 85 | ```bash 86 | psql --host=localhost --user=gis 87 | ``` 88 | 89 | #### Credentials 90 | 91 | The credentials for logging in are: 92 | 93 | - Username: `gis` 94 | - Password: `password` 95 | 96 | #### Data 97 | 98 | PostGIS data is stored in `data/postgis`. 99 | 100 | #### Configuration 101 | 102 | Configuration options for the PostGIS Docker image can be found at https://github.com/postgis/docker-postgis 103 | 104 | ### Solr (solr) 105 | 106 | > [Solr](https://solr.apache.org) is the popular, blazing-fast, open source enterprise search platform built on Apache Lucene 107 | 108 | Once the service is running you can access Solr at 109 | 110 | #### Data 111 | 112 | Solr data is stored in `data/solr`. 113 | 114 | #### Configuration 115 | 116 | The Solr services is configured with a core named `blacklight-core` to be used with an instance of [GeoBlacklight](https://geoblacklight.org) 117 | 118 | The `blacklight-core` configuration in the `solr_conf` directory is a copy of the [`solr/conf` directory in the 4.4.0 release of GeoBlacklight](https://github.com/geoblacklight/geoblacklight/tree/v4.4.0/solr/conf). 119 | 120 | ## Additional Notes 121 | 122 | ### Running Services in the Background 123 | 124 | #### Bringing up Services in Detached Mode 125 | 126 | To run the containers in the background, use the following command: 127 | 128 | ```bash 129 | $ docker compose up --detach 130 | ``` 131 | #### Following Service Logs in Detached Mode 132 | 133 | To follow/tail the container logs in this mode, use the following command: 134 | 135 | ```bash 136 | $ docker compose logs --follow 137 | ``` 138 | 139 | #### Shutting Down Services in Detached Mode 140 | 141 | To shut down the container running in the background, use the following command: 142 | 143 | ```bash 144 | $ docker compose down 145 | ``` 146 | 147 | ### Running Individual Services 148 | 149 | If you only need to run a single service provided by this project you can specify its name after the `up` command. For example, to just run Solr use the following command: 150 | 151 | ```bash 152 | $ docker compose up solr 153 | ``` 154 | 155 | This can also be combined with the `--detach` option per above. 156 | 157 | #### Running MapStore 158 | 159 | MapStore requires PostGIS to persist its data. To run just those two services, use the following command: 160 | 161 | ```bash 162 | $ docker compose up mapstore postgis 163 | ``` 164 | -------------------------------------------------------------------------------- /config/geostore-datasource-ovr-postgres.properties: -------------------------------------------------------------------------------- 1 | # Setup driver and dialect for PostgreSQL database 2 | geostoreDataSource.driverClassName=org.postgresql.Driver 3 | geostoreVendorAdapter.databasePlatform=org.hibernate.dialect.PostgreSQLDialect 4 | 5 | # Connection parameters 6 | geostoreDataSource.url=jdbc:postgresql://postgis:5432/gis 7 | geostoreDataSource.username=gis 8 | geostoreDataSource.password=password 9 | geostoreEntityManagerFactory.jpaPropertyMap[hibernate.default_schema]=public 10 | 11 | # Automatic create-update database mode 12 | geostoreEntityManagerFactory.jpaPropertyMap[hibernate.hbm2ddl.auto]=update 13 | 14 | # Other options 15 | geostoreVendorAdapter.generateDdl=true 16 | geostoreVendorAdapter.showSql=false -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- 1 | services: 2 | geoserver: 3 | image: docker.osgeo.org/geoserver:2.25.3 4 | ports: 5 | - "8080:8080" 6 | volumes: 7 | - ./data/geoserver:/opt/geoserver_data/:Z 8 | environment: 9 | ROOT_WEBAPP_REDIRECT: "true" 10 | GEOSERVER_ADMIN_USER: "gis" 11 | GEOSERVER_ADMIN_PASSWORD: "password" 12 | healthcheck: 13 | test: curl --fail "http://localhost:8080/geoserver/web/wicket/resource/org.geoserver.web.GeoServerBasePage/img/logo.png" || exit 1 14 | interval: 1m 15 | retries: 3 16 | timeout: 20s 17 | 18 | mapstore: 19 | image: geosolutionsit/mapstore2 20 | ports: 21 | - "8081:8080" 22 | volumes: 23 | - ./config/geostore-datasource-ovr-postgres.properties:/usr/local/tomcat/conf/geostore-datasource-ovr.properties 24 | environment: 25 | JAVA_OPTS: "-Dgeostore-ovr=file:///usr/local/tomcat/conf/geostore-datasource-ovr.properties" 26 | depends_on: 27 | postgis: 28 | condition: service_healthy 29 | 30 | postgis: 31 | image: postgis/postgis:16-3.4 32 | ports: 33 | - "5432:5432" 34 | volumes: 35 | - ./data/postgis:/var/lib/postgresql/data:Z 36 | environment: 37 | POSTGRES_DB: "gis" 38 | POSTGRES_USER: "gis" 39 | POSTGRES_PASSWORD: "password" 40 | healthcheck: 41 | test: pg_isready -U gis -h localhost -t 5 || exit 1 42 | interval: 1m 43 | retries: 3 44 | timeout: 20s 45 | 46 | solr: 47 | image: solr:9.6.1-slim 48 | ports: 49 | - "8983:8983" 50 | volumes: 51 | - ./data/solr:/var/solr 52 | - ./solr_conf:/solr_conf 53 | command: 54 | - solr-precreate 55 | - blacklight-core 56 | - /solr_conf 57 | -------------------------------------------------------------------------------- /solr_conf/_rest_managed.json: -------------------------------------------------------------------------------- 1 | { 2 | "initArgs":{}, 3 | "managedList":[]} -------------------------------------------------------------------------------- /solr_conf/admin-extra.html: -------------------------------------------------------------------------------- 1 | 17 | 18 | 32 | -------------------------------------------------------------------------------- /solr_conf/core.properties: -------------------------------------------------------------------------------- 1 | #Written by CorePropertiesLocator 2 | #name=geoblacklight #Change the name to the appropriate one you would like to use 3 | config=solrconfig.xml 4 | schema=schema.xml 5 | #dataDir=geodata #Change this directory to the appropriate one you would like to use 6 | -------------------------------------------------------------------------------- /solr_conf/elevate.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /solr_conf/mapping-ISOLatin1Accent.txt: -------------------------------------------------------------------------------- 1 | # The ASF licenses this file to You under the Apache License, Version 2.0 2 | # (the "License"); you may not use this file except in compliance with 3 | # the License. You may obtain a copy of the License at 4 | # 5 | # http://www.apache.org/licenses/LICENSE-2.0 6 | # 7 | # Unless required by applicable law or agreed to in writing, software 8 | # distributed under the License is distributed on an "AS IS" BASIS, 9 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | # See the License for the specific language governing permissions and 11 | # limitations under the License. 12 | 13 | # Syntax: 14 | # "source" => "target" 15 | # "source".length() > 0 (source cannot be empty.) 16 | # "target".length() >= 0 (target can be empty.) 17 | 18 | # example: 19 | # "??" => "A" 20 | # "\u00C0" => "A" 21 | # "\u00C0" => "\u0041" 22 | # "??" => "ss" 23 | # "\t" => " " 24 | # "\n" => "" 25 | 26 | # ?? => A 27 | "\u00C0" => "A" 28 | 29 | # ?? => A 30 | "\u00C1" => "A" 31 | 32 | # ?? => A 33 | "\u00C2" => "A" 34 | 35 | # ?? => A 36 | "\u00C3" => "A" 37 | 38 | # ?? => A 39 | "\u00C4" => "A" 40 | 41 | # ?? => A 42 | "\u00C5" => "A" 43 | 44 | # ?? => AE 45 | "\u00C6" => "AE" 46 | 47 | # ?? => C 48 | "\u00C7" => "C" 49 | 50 | # ?? => E 51 | "\u00C8" => "E" 52 | 53 | # ?? => E 54 | "\u00C9" => "E" 55 | 56 | # ?? => E 57 | "\u00CA" => "E" 58 | 59 | # ?? => E 60 | "\u00CB" => "E" 61 | 62 | # ?? => I 63 | "\u00CC" => "I" 64 | 65 | # ?? => I 66 | "\u00CD" => "I" 67 | 68 | # ?? => I 69 | "\u00CE" => "I" 70 | 71 | # ?? => I 72 | "\u00CF" => "I" 73 | 74 | # ?? => IJ 75 | "\u0132" => "IJ" 76 | 77 | # ?? => D 78 | "\u00D0" => "D" 79 | 80 | # ?? => N 81 | "\u00D1" => "N" 82 | 83 | # ?? => O 84 | "\u00D2" => "O" 85 | 86 | # ?? => O 87 | "\u00D3" => "O" 88 | 89 | # ?? => O 90 | "\u00D4" => "O" 91 | 92 | # ?? => O 93 | "\u00D5" => "O" 94 | 95 | # ?? => O 96 | "\u00D6" => "O" 97 | 98 | # ?? => O 99 | "\u00D8" => "O" 100 | 101 | # ?? => OE 102 | "\u0152" => "OE" 103 | 104 | # ?? 105 | "\u00DE" => "TH" 106 | 107 | # ?? => U 108 | "\u00D9" => "U" 109 | 110 | # ?? => U 111 | "\u00DA" => "U" 112 | 113 | # ?? => U 114 | "\u00DB" => "U" 115 | 116 | # ?? => U 117 | "\u00DC" => "U" 118 | 119 | # ?? => Y 120 | "\u00DD" => "Y" 121 | 122 | # ?? => Y 123 | "\u0178" => "Y" 124 | 125 | # ?? => a 126 | "\u00E0" => "a" 127 | 128 | # ?? => a 129 | "\u00E1" => "a" 130 | 131 | # ?? => a 132 | "\u00E2" => "a" 133 | 134 | # ?? => a 135 | "\u00E3" => "a" 136 | 137 | # ?? => a 138 | "\u00E4" => "a" 139 | 140 | # ?? => a 141 | "\u00E5" => "a" 142 | 143 | # ?? => ae 144 | "\u00E6" => "ae" 145 | 146 | # ?? => c 147 | "\u00E7" => "c" 148 | 149 | # ?? => e 150 | "\u00E8" => "e" 151 | 152 | # ?? => e 153 | "\u00E9" => "e" 154 | 155 | # ?? => e 156 | "\u00EA" => "e" 157 | 158 | # ?? => e 159 | "\u00EB" => "e" 160 | 161 | # ?? => i 162 | "\u00EC" => "i" 163 | 164 | # ?? => i 165 | "\u00ED" => "i" 166 | 167 | # ?? => i 168 | "\u00EE" => "i" 169 | 170 | # ?? => i 171 | "\u00EF" => "i" 172 | 173 | # ?? => ij 174 | "\u0133" => "ij" 175 | 176 | # ?? => d 177 | "\u00F0" => "d" 178 | 179 | # ?? => n 180 | "\u00F1" => "n" 181 | 182 | # ?? => o 183 | "\u00F2" => "o" 184 | 185 | # ?? => o 186 | "\u00F3" => "o" 187 | 188 | # ?? => o 189 | "\u00F4" => "o" 190 | 191 | # ?? => o 192 | "\u00F5" => "o" 193 | 194 | # ?? => o 195 | "\u00F6" => "o" 196 | 197 | # ?? => o 198 | "\u00F8" => "o" 199 | 200 | # ?? => oe 201 | "\u0153" => "oe" 202 | 203 | # ?? => ss 204 | "\u00DF" => "ss" 205 | 206 | # ?? => th 207 | "\u00FE" => "th" 208 | 209 | # ?? => u 210 | "\u00F9" => "u" 211 | 212 | # ?? => u 213 | "\u00FA" => "u" 214 | 215 | # ?? => u 216 | "\u00FB" => "u" 217 | 218 | # ?? => u 219 | "\u00FC" => "u" 220 | 221 | # ?? => y 222 | "\u00FD" => "y" 223 | 224 | # ?? => y 225 | "\u00FF" => "y" 226 | 227 | # ??? => ff 228 | "\uFB00" => "ff" 229 | 230 | # ??? => fi 231 | "\uFB01" => "fi" 232 | 233 | # ??? => fl 234 | "\uFB02" => "fl" 235 | 236 | # ??? => ffi 237 | "\uFB03" => "ffi" 238 | 239 | # ??? => ffl 240 | "\uFB04" => "ffl" 241 | 242 | # ??? => ft 243 | "\uFB05" => "ft" 244 | 245 | # ??? => st 246 | "\uFB06" => "st" 247 | -------------------------------------------------------------------------------- /solr_conf/protwords.txt: -------------------------------------------------------------------------------- 1 | # The ASF licenses this file to You under the Apache License, Version 2.0 2 | # (the "License"); you may not use this file except in compliance with 3 | # the License. You may obtain a copy of the License at 4 | # 5 | # http://www.apache.org/licenses/LICENSE-2.0 6 | # 7 | # Unless required by applicable law or agreed to in writing, software 8 | # distributed under the License is distributed on an "AS IS" BASIS, 9 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | # See the License for the specific language governing permissions and 11 | # limitations under the License. 12 | 13 | #----------------------------------------------------------------------- 14 | # Use a protected word file to protect against the stemmer reducing two 15 | # unrelated words to the same base word. 16 | 17 | # Some non-words that normally won't be encountered, 18 | # just to test that they won't be stemmed. 19 | dontstems 20 | zwhacky 21 | 22 | -------------------------------------------------------------------------------- /solr_conf/schema.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | id 4 | 5 | 6 | 7 | 8 | 9 | 10 | 12 | 13 | 17 | 18 | 19 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 49 | 51 | 53 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 143 | 150 | 151 | 152 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | -------------------------------------------------------------------------------- /solr_conf/scripts.conf: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | user= 17 | solr_hostname=localhost 18 | solr_port=8983 19 | rsyncd_port=18983 20 | data_dir= 21 | webapp_name=solr 22 | master_host= 23 | master_data_dir= 24 | master_status_dir= 25 | -------------------------------------------------------------------------------- /solr_conf/solrconfig.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 22 | 23 | 24 | 30 | 7.6 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | ${solr.blacklight-core.data.dir:} 41 | 42 | 43 | ${solr.lock.type:native} 44 | 45 | 46 | 47 | 48 | 49 | ${solr.ulog.dir:} 50 | 51 | 52 | 15000 53 | false 54 | 55 | 56 | 57 | 60 | 61 | 62 | true 63 | 64 | 65 | 66 | 67 | 68 | 71 | 72 | 1024 73 | 74 | 75 | 76 | true 77 | 20 78 | 200 79 | 80 | 81 | stanford 82 | polygon 83 | 84 | 85 | 86 | 87 | 88 | static firstSearcher warming in solrconfig.xml 89 | 90 | 91 | 92 | false 93 | 2 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 0 106 | 10 107 | json 108 | 2 109 | edismax 110 | all 111 | 6<-1 6<90% 112 | 1 113 | 0 114 | 0.01 115 | *,score 116 | score desc, dct_title_sort asc 117 | *:* 118 | 119 | text^1 120 | dct_description_ti^2 121 | dct_creator_tmi^3 122 | dct_publisher_ti^3 123 | dct_isPartOf_tmi^4 124 | dct_subject_tmi^5 125 | dct_spatial_tmi^5 126 | dct_temporal_tmi^5 127 | dct_title_ti^6 128 | dct_accessRights_ti^7 129 | dct_provider_ti^8 130 | layer_geom_type_ti^9 131 | layer_slug_ti^10 132 | dct_identifier_ti^10 133 | 134 | 135 | text^1 136 | dct_description_ti^2 137 | dct_creator_tmi^3 138 | dct_publisher_ti^3 139 | dct_isPartOf_tmi^4 140 | dct_subject_tmi^5 141 | dct_spatial_tmi^5 142 | dct_temporal_tmi^5 143 | dct_title_ti^6 144 | dct_accessRights_ti^7 145 | dct_provider_ti^8 146 | layer_geom_type_ti^9 147 | layer_slug_ti^10 148 | dct_identifier_ti^10 149 | 150 | true 151 | 1 152 | 10 153 | dct_isPartOf_sm 154 | schema_provider_s 155 | dct_spatial_sm 156 | dct_creator_sm 157 | dct_format_s 158 | dct_language_sm 159 | dct_publisher_sm 160 | dct_accessRights_s 161 | dct_subject_sm 162 | locn_geometry_s 163 | gbl_indexYear_im 164 | 165 | true 166 | 167 | 168 | spellcheck 169 | 170 | 171 | 172 | 173 | 174 | 175 | solrpingquery 176 | 177 | 178 | all 179 | 180 | 185 | server-enabled.txt 186 | 187 | 188 | 191 | 192 | 193 | 194 | 195 | default 196 | spell 197 | solr.DirectSolrSpellChecker 198 | 199 | internal 200 | 201 | 0.5 202 | 203 | 2 204 | 205 | 1 206 | 207 | 5 208 | 209 | 4 210 | 211 | 0.01 212 | 215 | 216 | 217 | 218 | 219 | 220 | mySuggester 221 | FuzzyLookupFactory 222 | textSuggest 223 | true 224 | suggest 225 | 226 | 227 | 228 | 229 | 230 | true 231 | 5 232 | mySuggester 233 | 234 | 235 | suggest 236 | 237 | 238 | 239 | 240 | 241 | *:* 242 | 243 | 244 | -------------------------------------------------------------------------------- /solr_conf/spellings.txt: -------------------------------------------------------------------------------- 1 | pizza 2 | history 3 | -------------------------------------------------------------------------------- /solr_conf/stopwords.txt: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | #----------------------------------------------------------------------- 17 | # a couple of test stopwords to test that the words are really being 18 | # configured from this file: 19 | stopworda 20 | stopwordb 21 | 22 | #Standard english stop words taken from Lucene's StopAnalyzer 23 | a 24 | an 25 | and 26 | are 27 | as 28 | at 29 | be 30 | but 31 | by 32 | for 33 | if 34 | in 35 | into 36 | is 37 | it 38 | no 39 | not 40 | of 41 | on 42 | or 43 | s 44 | such 45 | t 46 | that 47 | the 48 | their 49 | then 50 | there 51 | these 52 | they 53 | this 54 | to 55 | was 56 | will 57 | with 58 | 59 | -------------------------------------------------------------------------------- /solr_conf/stopwords_en.txt: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | #----------------------------------------------------------------------- 17 | # a couple of test stopwords to test that the words are really being 18 | # configured from this file: 19 | stopworda 20 | stopwordb 21 | 22 | #Standard english stop words taken from Lucene's StopAnalyzer 23 | a 24 | an 25 | and 26 | are 27 | as 28 | at 29 | be 30 | but 31 | by 32 | for 33 | if 34 | in 35 | into 36 | is 37 | it 38 | no 39 | not 40 | of 41 | on 42 | or 43 | s 44 | such 45 | t 46 | that 47 | the 48 | their 49 | then 50 | there 51 | these 52 | they 53 | this 54 | to 55 | was 56 | will 57 | with 58 | 59 | -------------------------------------------------------------------------------- /solr_conf/synonyms.txt: -------------------------------------------------------------------------------- 1 | # The ASF licenses this file to You under the Apache License, Version 2.0 2 | # (the "License"); you may not use this file except in compliance with 3 | # the License. You may obtain a copy of the License at 4 | # 5 | # http://www.apache.org/licenses/LICENSE-2.0 6 | # 7 | # Unless required by applicable law or agreed to in writing, software 8 | # distributed under the License is distributed on an "AS IS" BASIS, 9 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | # See the License for the specific language governing permissions and 11 | # limitations under the License. 12 | 13 | #----------------------------------------------------------------------- 14 | #some test synonym mappings unlikely to appear in real input text 15 | aaa => aaaa 16 | bbb => bbbb1 bbbb2 17 | ccc => cccc1,cccc2 18 | a\=>a => b\=>b 19 | a\,a => b\,b 20 | fooaaa,baraaa,bazaaa 21 | 22 | # Some synonym groups specific to this example 23 | GB,gib,gigabyte,gigabytes 24 | MB,mib,megabyte,megabytes 25 | Television, Televisions, TV, TVs 26 | #notice we use "gib" instead of "GiB" so any WordDelimiterFilter coming 27 | #after us won't split it into two words. 28 | 29 | # Synonym mappings can be used for spelling correction too 30 | pixima => pixma 31 | 32 | -------------------------------------------------------------------------------- /solr_conf/xslt/example.xsl: -------------------------------------------------------------------------------- 1 | 2 | 3 | 19 | 20 | 23 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | <xsl:value-of select="$title"/> 35 | 36 | 37 | 38 |

39 |
40 | This has been formatted by the sample "example.xsl" transform - 41 | use your own XSLT to get a nicer page 42 |
43 | 44 | 45 | 46 |
47 | 48 | 49 | 50 |
51 | 52 | 53 | 54 | 55 |
56 |
57 |
58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | javascript:toggle("");? 72 |
73 | 74 | exp 75 | 76 | 77 | 78 | 79 | 80 |
81 | 82 | 83 |
84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 |
    92 | 93 |
  • 94 |
    95 |
96 | 97 | 98 |
99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 121 | 130 | 131 | 132 |
133 | -------------------------------------------------------------------------------- /solr_conf/xslt/example_atom.xsl: -------------------------------------------------------------------------------- 1 | 2 | 3 | 19 | 20 | 23 | 24 | 26 | 27 | 32 | 33 | 34 | 35 | 36 | Example Solr Atom 1.0 Feed 37 | 38 | This has been formatted by the sample "example_atom.xsl" transform - 39 | use your own XSLT to get a nicer Atom feed. 40 | 41 | 42 | Apache Solr 43 | solr-user@lucene.apache.org 44 | 45 | 47 | 48 | 49 | 50 | tag:localhost,2007:example 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | <xsl:value-of select="str[@name='name']"/> 60 | 61 | tag:localhost,2007: 62 | 63 | 64 | 65 | 66 | 67 | 68 | -------------------------------------------------------------------------------- /solr_conf/xslt/example_rss.xsl: -------------------------------------------------------------------------------- 1 | 2 | 3 | 19 | 20 | 23 | 24 | 26 | 27 | 32 | 33 | 34 | 35 | Example Solr RSS 2.0 Feed 36 | http://localhost:8983/solr 37 | 38 | This has been formatted by the sample "example_rss.xsl" transform - 39 | use your own XSLT to get a nicer RSS feed. 40 | 41 | en-us 42 | http://localhost:8983/solr 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | <xsl:value-of select="str[@name='name']"/> 54 | 55 | http://localhost:8983/solr/select?q=id: 56 | 57 | 58 | 59 | 60 | 61 | 62 | http://localhost:8983/solr/select?q=id: 63 | 64 | 65 | 66 | 67 | -------------------------------------------------------------------------------- /solr_conf/xslt/luke.xsl: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | 23 | 28 | 35 | 36 | Solr Luke Request Handler Response 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | <xsl:value-of select="$title"/> 46 | 47 | 48 | 49 | 50 | 51 |

52 | 53 |

54 |
55 | 81 |
82 | 83 |

Index Statistics

84 | 85 |
86 | 87 |

Field Statistics

88 | 89 | 90 | 91 |

Document statistics

92 | 93 | 94 | 95 | 96 |
97 | 98 | 99 | 100 | 101 | 102 |
103 | 104 |
105 | 106 | 107 |
108 | 109 |
110 | 111 |
112 |
113 |
114 | 115 | 116 | 117 | 118 | 119 | 120 | 126 | 127 | 128 | 129 | 130 | 132 | 133 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 |
121 |

122 | 123 |

124 | 125 |
134 | 135 |
144 |
145 |
146 | 147 | 148 |
149 | 150 | 50 151 | 800 152 | 160 153 | blue 154 | 155 |
156 |
157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 194 | 195 | 196 | 197 | 198 | 201 | 202 | 203 | 204 |
189 | 190 |
191 | background-color: ; width: px; height: px; 192 |
193 |
199 | 200 |
205 |
206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | 232 | 233 | 234 | 235 |
    236 | 237 |
  • 238 | 239 |
  • 240 |
    241 |
242 | 243 | 244 |
245 | 246 | 247 | 248 | 249 | 250 | 251 | 252 | 253 | 254 | 255 | 256 | 257 | 258 | 259 | 260 | 261 | 262 | 263 | 264 | 265 | 266 | 267 | 268 | 269 | 270 | 271 | 272 | 273 | 274 | 275 | 276 | 277 | 278 | 1 279 | 280 | 281 | 282 | 283 | 284 | 285 | 286 | - 287 | 288 | - 289 | 290 | - 291 | 292 | - 293 | 294 | - 295 | 296 | - 297 | 298 | - 299 | 300 | - 301 | 302 | - 303 | 304 | - 305 | 306 | - 307 | 308 | - 309 | 310 | - 311 | 312 | 313 | 314 | 315 | 316 | 317 | 318 | 319 | 320 | 321 | 322 | 323 | 324 | 325 | 326 | 336 | 337 |
338 | --------------------------------------------------------------------------------