Skip to content
This repository has been archived by the owner on Aug 30, 2022. It is now read-only.

What is the semantic of Solr search query builder configuration parameters 'type' and 'doctype' #83

Closed
ruKurz opened this issue Sep 15, 2017 · 4 comments

Comments

@ruKurz
Copy link
Collaborator

ruKurz commented Sep 15, 2017

The documentation says:

type: the type of the result
doctype: the document type of the result (e.g. text/html)

so doctype is equal to mime type, is that right?

and what is type and where are these parameters used for?

@ja-fra ja-fra added this to the Delta-Sprint milestone Sep 18, 2017
@ruKurz ruKurz removed the ready label Sep 18, 2017
@tkurz
Copy link
Member

tkurz commented Sep 25, 2017

both are only used for display. The doctype is meant to be something like "blogpost", "webpage", "document". The type is the mimetype.

@ruKurz
Copy link
Collaborator Author

ruKurz commented Dec 8, 2017

this info should be applied to the docs.

@ruKurz ruKurz self-assigned this Dec 8, 2017
@ruKurz ruKurz added this to the v0.6.1 milestone Dec 8, 2017
@ruKurz ruKurz added in progress and removed ready labels Dec 8, 2017
@ruKurz
Copy link
Collaborator Author

ruKurz commented Dec 8, 2017

looking at the doc, it is the other way around:

*** type: the type of the result
*** doctype: the document type of the result (e.g. text/html)

@ruKurz
Copy link
Collaborator Author

ruKurz commented Dec 8, 2017

@tkurz could you please clarify? Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants