A search interface for data from the Politics of Patents case study (part of Copim WP6): this parses data from the archive of RTF files and provides additional data from the European Patent Office API. https://patents.copim.ac.uk
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
931B

  1. {"params":{
  2. "query":{
  3. "defType":"edismax",
  4. "q.alt":"*:*",
  5. "rows":"10",
  6. "fl":"*,score",
  7. "":{"v":0}},
  8. "facets":{
  9. "facet":"on",
  10. "facet.mincount":"1",
  11. "f.doc_type.facet.mincount":"0",
  12. "facet.field":["text_shingles","{!ex=type}doc_type", "language"],
  13. "f.text_shingles.facet.limit":10,
  14. "facet.query":"{!ex=type key=all_types}*:*",
  15. "f.doc_type.facet.missing":true,
  16. "":{"v":0}},
  17. "browse":{
  18. "type_fq":"{!field f=doc_type v=$type}",
  19. "hl":"on",
  20. "hl.fl":"content",
  21. "v.locale":"${locale}",
  22. "debug":"true",
  23. "hl.simple.pre":"HL_START",
  24. "hl.simple.post":"HL_END",
  25. "echoParams": "explicit",
  26. "_appends_": {
  27. "fq": "{!switch v=$type tag=type case='*:*' case.all='*:*' case.unknown='-doc_type:[* TO *]' default=$type_fq}"
  28. },
  29. "":{"v":0}},
  30. "velocity":{
  31. "wt":"velocity",
  32. "v.template":"browse",
  33. "v.layout":"layout",
  34. "":{"v":0}}}}