Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
sarcophagus:carcass:tutorials:advanced_3 [2012/06/05 10:24] – eros | sarcophagus:carcass:tutorials:advanced_3 [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | [[sarcophagus: | ||
- | [[sarcophagus: | ||
- | ---- | ||
- | ====== Carcass Advanced Tutorial - Part 3 ====== | ||
- | ==== Expert Query Editor ==== | ||
- | |||
- | The most advanced query editor available in Carcass is the **Expert Query Editor** which allows you to use the full CQP syntax. | ||
- | |||
- | To open the //Expert Query Editor// click on the tab marked by the green arrow in the picture below: | ||
- | |||
- | {{ : | ||
- | |||
- | The //Expert Query Editor// consists of a single text box where you can type your query directly using the CQP language. Type the following query and then click on '' | ||
- | |||
- | < | ||
- | [word=" | ||
- | </ | ||
- | |||
- | {{ : | ||
- | |||
- | The query will take a few seconds to complete: it will appear in the query history as usual and the results will be displayed at the bottom of the screen. | ||
- | |||
- | Now you can browse the results or sort them just like you did with the results from the Simple and Smart query editors. | ||
- | |||
- | The CQP language used by the //Expert Query Editor// is rather complex and is beyond the scope of this tutorial, for more information refer to the official [[http:// | ||
- | |||
- | ==== Query History ==== | ||
- | |||
- | You may have realised by now that the queries listed in the //Query History// are all expressed using the CQP language: if you use the //Simple// or the //Smart// query editors, Carcass automatically " | ||
- | |||
- | We've seen how you can recall the results of previous queries by clicking on them, but there is another interesting thing you can do: | ||
- | |||
- | * delete the content of the //Expert Query Editor// box, which should look like this | ||
- | |||
- | \\ | ||
- | |||
- | {{ : | ||
- | |||
- | \\ | ||
- | |||
- | * in the //Query history//, click on the first query you submitted | ||
- | |||
- | \\ | ||
- | |||
- | {{ : | ||
- | |||
- | \\ | ||
- | |||
- | * press CTRL-C (or COMMAND-C if you are using a Mac) on your keyboard, this will **copy** the query to the clipboard | ||
- | * click in the empty text box in the //Expert Query Editor// and then press CTRL-V (or COMMAND-C if you are using a Mac) on your keyboard | ||
- | * the CQP query will be pasted in the box | ||
- | |||
- | \\ | ||
- | |||
- | {{ : | ||
- | |||
- | \\ | ||
- | |||
- | This is particularly useful if you want to start composing a query in the //Smart Editor// and then modify it manually. | ||
- | |||
- | ==== Conclusion ==== | ||
- | |||
- | This concludes the Carcass Advanced Tutorial, you can go back to the [[sarcophagus: | ||
- | |||
- | ======= ======= | ||
- | ---- | ||
- | [[sarcophagus: | ||
- | [[sarcophagus: |