Mercurial Hosting > luan
comparison lucene/src/luan/modules/lucene/Web_search.luan @ 316:d6cce1cc8948
Add another query example to search tool.
git-svn-id: https://luan-java.googlecode.com/svn/trunk@317 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | hugo.tech@gmail.com <hugo.tech@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Mon, 29 Dec 2014 19:12:53 +0000 |
parents | 5652cdea25f5 |
children | 7f7708e8fdd4 |
comparison
equal
deleted
inserted
replaced
315:6e11eace1091 | 316:d6cce1cc8948 |
---|---|
27 <body> | 27 <body> |
28 <h1>Lucene Query</h1> | 28 <h1>Lucene Query</h1> |
29 <form name="form0" method="post"> | 29 <form name="form0" method="post"> |
30 <p> | 30 <p> |
31 <span class="label">Query:</span> <input name="query" size="60" value="Query.all_docs" /> | 31 <span class="label">Query:</span> <input name="query" size="60" value="Query.all_docs" /> |
32 <div class="tip"><span class="label"></span> Query examples: Query.term{ type = 'user' }</div> | 32 <div class="tip"><span class="label"></span> Query examples: <i>Query.term{ type = 'user' }</i> or <i>"type:user AND name:Joe"</i></div> |
33 </p> | 33 </p> |
34 <p><span class="label">Max Rows:</span> <input name="rows" value="100" maxlength="5" onkeypress="return event.charCode >= 48 && event.charCode <= 57" style="width:3em"/></p> | 34 <p><span class="label">Max Rows:</span> <input name="rows" value="100" maxlength="5" onkeypress="return event.charCode >= 48 && event.charCode <= 57" style="width:3em"/></p> |
35 <p> | 35 <p> |
36 <span class="label">Sort:</span> <input name="sort" size="60" /> | 36 <span class="label">Sort:</span> <input name="sort" size="60" /> |
37 <div class="tip"><span class="label"></span> Sort examples: Query.sort{{ field = 'id', type='int' }}</div> | 37 <div class="tip"><span class="label"></span> Sort examples: Query.sort{{ field = 'id', type='int' }}</div> |