mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
36 lines
1.5 KiB
Markdown
36 lines
1.5 KiB
Markdown
+++
|
|
title = "WebUI"
|
|
+++
|
|
|
|
## WebUI
|
|
|
|
The Pilosa server comes packaged with in-browser WebUI. When you run a local Pilosa server on the default host, you can access it at [localhost:10101](http://localhost:10101)
|
|
This can be used for constructing queries and viewing the cluster status.
|
|
|
|
### Console
|
|
|
|
The [Console view](http://localhost:10101/#console) allows you to enter [PQL](../query-language) queries and run them against your locally running server. First you must select an Index with the Select index dropdown.
|
|
|
|
Each query's result will be displayed in the Output section along with the query time.
|
|
|
|
The Console will keep a record of each query and its result with the latest query on top.
|
|
|
|

|
|
|
|
In addition to standard PQL, the console supports a few special commands, prefixed with `:`.
|
|
|
|
- `:create index <indexname>`
|
|
- `:delete index <indexname>`
|
|
- `:use <indexname>`
|
|
- `:create frame <framename>`
|
|
- `:delete frame <framename>`
|
|
|
|
Index and frame creation also supports options like `columnLabel`,`rowLabel` or `inverseEnabled`. When creating new index or new frame, add options by using the keys documented in [API reference](../api-reference).
|
|
|
|
- `:create index <indexname> columnLabel=col_id`
|
|
- `:create frame <framename> rowLabel=row_id inverseEnabled=true cacheSize=10000`
|
|
|
|
|
|
### Cluster Admin
|
|
|
|
Use the [Cluster Admin tab](http://localhost:10101/#admin) to view the current status of your cluster. This contains information on each node in the cluster, plus the list of Indexes and Frames.
|