Paper Results

Back to top

Typification of the paper results.

Results of this type are rendered in the template.

Related topics:


final class searx.result_types.paper.Paper(title: str = '', img_src: str = '', iframe_src: str = '', audio_src: str = '', thumbnail: str = '', publishedDate: datetime | None = None, pubdate: str = '', length: timedelta | None = None, views: str = '', author: str = '', metadata: str = '', priority: Literal['', 'high', 'low']='', engines: set[str] = <factory>, open_group: bool = False, close_group: bool = False, positions: list[int] = <factory>, score: float = 0, category: str = '', *, template: str = 'paper.html', content: str = '', url: str | None = None, engine: str | None = '', parsed_url: ParseResult | None = None, date_of_publication: DateTime | None = None, comments: str = '', tags: list[str] = <factory>, type: str = '', authors: list[str] | set[str] = <factory>, editor: str = '', publisher: str = '', journal: str = '', volume: str | int = '', pages: str = '', number: str = '', doi: str = '', issn: list[str] = <factory>, isbn: list[str] = <factory>, pdf_url: str = '', html_url: str = '')[source] : Bases: MainResult

Result type suitable for displaying scientific papers and other
documents.

date\_of\_publication: [DateTime](https://docs.searxng.org/src/searx.weather.html#searx.weather.DateTime) | [None](https://docs.python.org/3/builtins/constants.html#None)
:   Date the document was published.

comments: [str](https://docs.python.org/3/builtins/stdtypes.html#str)
:   Free text display in italic below the content.

tags: [list](https://docs.python.org/3/builtins/stdtypes.html#list)[[str](https://docs.python.org/3/builtins/stdtypes.html#str)]
:   Free tag list.

type: [str](https://docs.python.org/3/builtins/stdtypes.html#str)
:   Short description of medium type, e.g. *book*, *pdf* or *html* …

authors: [list](https://docs.python.org/3/builtins/stdtypes.html#list)[[str](https://docs.python.org/3/builtins/stdtypes.html#str)] | [set](https://docs.python.org/3/builtins/stdtypes.html#set)[[str](https://docs.python.org/3/builtins/stdtypes.html#str)]
:   List of authors of the work (authors with a “s” suffix, the “author” is
    in the `MainResult.author`).

editor: [str](https://docs.python.org/3/builtins/stdtypes.html#str)
:   Editor of the book/paper.

publisher: [str](https://docs.python.org/3/builtins/stdtypes.html#str)
:   Name of the publisher.

journal: [str](https://docs.python.org/3/builtins/stdtypes.html#str)
:   Name of the journal or magazine the article was published in.

volume: [str](https://docs.python.org/3/builtins/stdtypes.html#str) | [int](https://docs.python.org/3/builtins/functions.html#int)
:   Volume number.

pages: [str](https://docs.python.org/3/builtins/stdtypes.html#str)
:   Page range where the article is.

number: [str](https://docs.python.org/3/builtins/stdtypes.html#str)
:   Number of the report or the issue number for a journal article.

doi: [str](https://docs.python.org/3/builtins/stdtypes.html#str)
:   DOI number (like `10.1038/d41586-018-07848-2`).

issn: [list](https://docs.python.org/3/builtins/stdtypes.html#list)[[str](https://docs.python.org/3/builtins/stdtypes.html#str)]
:   List of ISSN numbers like `1476-4687`

isbn: [list](https://docs.python.org/3/builtins/stdtypes.html#list)[[str](https://docs.python.org/3/builtins/stdtypes.html#str)]
:   List of ISBN numbers like `9780201896831`

pdf\_url: [str](https://docs.python.org/3/builtins/stdtypes.html#str)
:   URL to the full article, the PDF version

html\_url: [str](https://docs.python.org/3/builtins/stdtypes.html#str)
:   URL to full article, HTML version

Copyright © SearXNG team

Made with Furo

💾 🌐