Content-Length: 295646 | pFad | http://github.com/adsabs/solr-service/#start-of-content

C5 GitHub - adsabs/solr-service: microservice that proxies to solr
Skip to content

adsabs/solr-service

Repository files navigation

Coverage Status

Microservice responsible for proxying requests to Solr

This service is a part of the ADS API. It is a tiny proxy in front of the SOLR.

Development/Installation

If you wish to install the service locally:

  1. create a python virtual environment virtualenv python
  2. install dependencies pip install -r requirements.txt; pip install -r dev-requirements.txt
  3. create a solr/local_config.py and point at your SOLR instance, example:
SOLR_SERVICE_URL='http://localhost:8983/solr'
  1. start the solr-service python cors.py

Note: normally, we run the solr-service using gunicorn (wsgi.py) behind the adsws gateway. In this case, we use cors.py to run the solr-service as a standalone service (without needing the ADS gateway).

Specifying Limits

Additional facets can be made available to users by specifying them in the Limits table. The table takes one facet along with an associated filter per user per line. these entries are currently inserted manually

INSERT INTO public.limits (uid, field, filter)
VALUES (user_id, solr_field, filter);

filter can be *:*.

End User Api Documentation

The API documentation is available at: https://github.com/adsabs/adsabs.github.io/blob/new-api/content/v1/search.md









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/adsabs/solr-service/#start-of-content

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy