<commit_before>\documentclass[12pt, unicode]{beamer}
\usetheme{Warsaw}
\usepackage{luatexja}
\usepackage{listings}

\title{Groonga query specification}
\subtitle{How to represent Commandline and HTTP query?}
\author{<NAME>}
\date[2016/03/12]{Technical information sharing seminar}

\begin{document}

\frame{\maketitle}

\begin{frame}{Introduction}
\begin{block}{What is Groonga?}
Groonga is a fully free open-source full-text serach engine and column store.
\end{block}
\onslide<1->
\begin{itemize}
\item<2-> Full-text search engine based on inverted index
\item<3-> Various tokenizers
\item<4-> Sharable storage and read lock-free
\item<5-> Basic funcitonality is privided from libgroonga
\item<6-> Query syntax to do full-text search
\end{itemize}
\end{frame}

\begin{frame}{Query syntax}
\begin{block}{Summary of query syntax}
Groonga has a query which is used by full-text search.
\end{block}
\onslide<1->
\begin{itemize}
\item<2-> It requires mandatory command name parameter(s) (e.g. select, load... etc.)
\item<3-> It requires mandatory parameter(s) if they exist
\item<4-> It may require optional parameter(s) if they can specify
\item<5-> It may append additional parameter(s) if they are defined (e.g. request\_id and request\_timeout like parameters)
\item<6-> It requires to convert Commandline query
\item<7-> It requires to convert to HTTP query
\end{itemize}
\end{frame}

\begin{frame}{Groonga query structure}
\begin{block}{Query structure}
Groonga query has multiple parts.
\end{block}
\begin{table}[htb]
\resizebox{\textwidth}{!}{%
    \begin{tabular}{l | c | c } \hline
      part & content & mandatory? \\ \hline \hline
      command & command name & yes \\ \hline
      mandatory parameter(s) & pairs of keys and value & yes \\ \hline
      optional parameter(s) & pairs of keys and values & no \\ \hline
      additional parameter(s) & pairs of keys and values & no \\ \hline
    \end{tabular}}
\end{table}
\end{frame}

\end{document}
<commit_msg>slide: Add query order description slide<commit_after>\documentclass[12pt, unicode]{beamer}
\usetheme{Warsaw}
\usepackage{luatexja}
\usepackage{listings}

\title{Groonga query specification}
\subtitle{How to represent Commandline and HTTP query?}
\author{<NAME>}
\date[2016/03/12]{Technical information sharing seminar}

\begin{document}

\frame{\maketitle}

\begin{frame}{Introduction}
\begin{block}{What is Groonga?}
Groonga is a fully free open-source full-text serach engine and column store.
\end{block}
\onslide<1->
\begin{itemize}
\item<2-> Full-text search engine based on inverted index
\item<3-> Various tokenizers
\item<4-> Sharable storage and read lock-free
\item<5-> Basic funcitonality is privided from libgroonga
\item<6-> Query syntax to do full-text search
\end{itemize}
\end{frame}

\begin{frame}{Query syntax}
\begin{block}{Summary of query syntax}
Groonga has a query which is used by full-text search.
\end{block}
\onslide<1->
\begin{itemize}
\item<2-> It requires mandatory command name parameter(s) (e.g. select, load... etc.)
\item<3-> It requires mandatory parameter(s) if they exist
\item<4-> It may require optional parameter(s) if they can specify
\item<5-> It may append additional parameter(s) if they are defined (e.g. request\_id and request\_timeout like parameters)
\item<6-> It requires to convert Commandline query
\item<7-> It requires to convert to HTTP query
\end{itemize}
\end{frame}

\begin{frame}{Groonga query structure}
\begin{block}{Query structure}
Groonga query has multiple parts.
\end{block}
\begin{table}[htb]
\resizebox{\textwidth}{!}{%
    \begin{tabular}{l | c | c } \hline
      part & content & mandatory? \\ \hline \hline
      command & command name & yes \\ \hline
      mandatory parameter(s) & pairs of keys and value & yes \\ \hline
      optional parameter(s) & pairs of keys and values & no \\ \hline
      additional parameter(s) & pairs of keys and values & no \\ \hline
    \end{tabular}}
\end{table}
\end{frame}

\begin{frame}{Groonga query basics}
\begin{block}{Query order}
Groonga query MUST keep query parameters order except for using \textbf {named query}.
\end{block}
\onslide<1->
\begin{itemize}
\item<2-> \textbf {non-named query} MUST keep query order
\item<3-> \textbf {named query} need not keep query order
\end{itemize}
\end{frame}

\end{document}

{'fraction_non_alphanumeric': 0.12886717841358455, 'fraction_numerical': 0.011397999534775528, 'mean_word_length': 4.295566502463054, 'pattern_counts': {'":': 0, '<': 34, '<?xml version=': 0, '>': 34, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '889086', 'n_tokens_mistral': 1402, 'n_tokens_neox': 1370, 'n_words': 471}