Skip to content
Snippets Groups Projects
Commit d2836150 authored by Timofey Arkhangelskiy's avatar Timofey Arkhangelskiy
Browse files

Minor corrections in the docs

parent 225264d5
Branches
No related tags found
No related merge requests found
......@@ -10,19 +10,19 @@ Here are some short answers to common questions.
| **A**: In a nutshell: You fork or copy the repository, clone it on a server, :doc:`configure </configuration>` it, and run it as a web application. Then you configure a CLARIN aggregator, so that it knows where to find your endpoint.
| **Q**: *What kind of requests does an endpoint understand?*
| **A**: GET requests with several parameters. Two operations are available: ``explain`` provides basic info about a corpus, ``searchRetrieve`` returns search results in a corpus. A CQL-like language is used for queries. You will find more details in the specifications_.
| **A**: GET requests with several parameters. Two operations are available: ``explain`` provides basic info about a corpus, ``searchRetrieve`` returns search results from a corpus. A CQL-like language is used for queries. You will find more details in the specifications_.
| **Q**: *What does an endpoint return?*
| **A**: It returns XML, which contains search results, corpus info and/or error messages. You will find more details in the specifications_.
| **Q**: *How fast is this endpoint?*
| **A**: The endpoint itself only performs the translation, which is very fast. But send requests to corpora and must wait for a reply, which can take a long time.
| **A**: The endpoint itself only performs the translation, which is very fast. But it sends requests to corpora and must wait for a reply, which can take a long time.
| **Q**: *Can I use one endpoint for multiple corpora?*
| **A**: Yes. You create one configuration file per corpus. Each corpus gets an ID. Queries to different corpora must be sent to different URLs, which include that ID.
| **A**: Yes. You create one configuration file per corpus. Each corpus gets an ID. Queries to different corpora must be sent to different URLs, which include these IDs.
| **Q**: *Does the endpoint understand all of the FCS query language?*
| **A**: It can parse any valid query. However, certain corpus platforms it works with cannot process certain subsets of the query language. If a query is too complex for a corpus, you will get an appropriate diagnostic (i.e. error message) in XML.
| **A**: It can parse any valid query. However, certain corpus platforms cannot process certain subsets of the query language. If a query is too complex for a corpus, you will get an appropriate diagnostic (i.e. error message) in XML.
| **Q**: *What about data protection?*
| **A**: The endpoint does not store any information on the server and does not place any cookies on the client's machine.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment