...
Info | ||
---|---|---|
| ||
All paths within this document point to a default installation of Locator, using the following paths
If you have chosen different paths for your installation of Locator, you need to adjust the paths used in the commands below. |
First of, we need to make the SOLR Index Service aware of the fields we require. Supervisor will report on any SOLR field that is prefixed with lingo_, which is why all our custom fields follow this naming pattern. To add these fields to our SOLR configuration, we need to edit the file solr_overrides.xml located in %ProgramData%\VirtualWorksayfie\ViaWorksLocator\Solr\configsets\ViaWorksCloud\conf (or %ProgramData%\Konica Minolta\dokoni FIND\Solr\configsets\ViaWorksCloud\conf for dokoni FIND).
...
Code Block | ||||
---|---|---|---|---|
| ||||
"c:\Program Files\VirtualWorksayfie\ViaWorksLocator\Tools\Via.SolrUpdate.exe" APPLY c:\ProgramData\VirtualWorksayfie\ViaWorksLocator\Solr\configsets\ViaWorksCloud\conf\schema_base.xml c:\ProgramData\VirtualWorksayfie\ViaWorksLocator\Solr\configsets\ViaWorksCloud\conf\schema_overrides.xml c:\ProgramData\VirtualWorksayfie\ViaWorksLocator\Solr\configsets\ViaWorksCloud\conf\schema.xml |
...
Code Block | ||||
---|---|---|---|---|
| ||||
C:\>cd "c:\Program Files\VirtualWorksayfie\ViaWorksLocator\SOLR\bin" solr zk upconfig -z localhost:9983 -n ViaWorksCloud -d c:\ProgramData\VirtualWorksayfie\ViaWorksLocator\Solr\configsets\ViaWorksCloud\conf |
...
We are now ready to make Locator aware that these fields should be indexed. This is done by adding the index fields to the index.index_field table in the database. Start the Postgres Admin tool located in %Program Files%\VirtualWorksayfie\ViaWorksLocator\Postgres\bin\pg3admin.exe.
Connect the Admin tool to your ViaWorks Locator database and issue the following SQL query.
...
Code Block | ||||
---|---|---|---|---|
| ||||
"c:\Program Files\VirtualWorksayfie\ViaWorksLocator\Tools\Via.Repository.exe" REINDEX /ALL |
...