Socket
Socket
Sign inDemoInstall

@olasearch/solr-adapter

Package Overview
Dependencies
6
Maintainers
6
Versions
77
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@olasearch/solr-adapter

OlaSearch adapter for Solr


Version published
Maintainers
6
0
Bundle size
11.7 kB
Minified + gzipped

Weekly downloads

Readme

Source

Solr adapter for OlaSearch

Docs

Coming Soon

Installation

yarn add @olasearch/solr-adapter
import { Parser, QueryBuilder, Http } from '@olasearch/solr-adapter'

GET Request parameters for Ola Search Solr adapter

ParameterDescriptionDefault value
qSearch query*
envEnvironment typestaging, production
projectIdProject id
timestampDate time of the current request
qfFields to be searchabletitle_t summary_t topics_ts notice_number_t
startStart index of the search document0
rowsNumber of search results to display10
sortSort by a field
facetShow facet valuestrue
fqFacet query
facet.mincountOnly show facets with atleast min count1
wtOutput formatjson
facet.fieldField to facet on
f.date_tdt.facet.range.startDaterange startNOW-20YEARS
f.date_tdt.facet.range.endDaterange endNOW
f.date_tdt.facet.range.gapInterval+1YEAR
f.date_tdt.facet.range.includeinclude lower boundlower
facet.rangeRange facet names
spellcheck.countNo of spellchecked words to return
spellcheck.extendedResultstrue
spellcheck.maxCollationstrue
spellcheck.qSpellcheck querytrue
spellcheckEnable spellchecktrue
spellcheck.collatetrue
highlighttrue
bfqueryBoost results
boostBoost results
hlhighlighttrue
hl.flHighlighted fieldstrue
hl.tag.preHighlight tag
hl.tag.postHighlight tag
hl.simple.preHighlight tag
hl.simple.postHighlight tag
hl.fragsizeHighlight size200
hl.usePhraseHighlightertrue
hl.highlightMultiTermtrue
hl.useFastVectorHighlightertrue
hl.alternateFieldAlternate highlight field
mmMinimum match1<50%
flField list*

Keywords

FAQs

Last updated on 20 Feb 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc