index:attribute-names empty
Friday, 18 December 2015 · 2 messages
BG
Benjamin Gathmann18 Dec 2015 15:35 #
Hi Christian & Co.,
I have created a DB with the following characteristics:
- Size: 37 GB
-Nodes: 1'532'608'670
- Documents: 5205
- Up-to-date: true
-
TEXTINDEX: false
- ATTRINDEX: false
If I run "index:attribute-names" in the GUI command line (as described here: http://docs.basex.org/wiki/Indexes), I get an empty result and the following Query Info:
¨Query:
index:attribute-names
Result:
- Hit(s): 0 Items
- Updated: 0 Items
- Printed: 0 Bytes
- Read Locking: local [database]
- Write Locking: none
Timing:
- Parsing: 1.08 ms
- Compiling: 0.2 ms
- Evaluating: 52.83 ms
- Printing: 0.02 ms
- Total Time: 54.13 ms
Query plan:
<QueryPlan compiled="true">
<CachedPath>
<IterStep axis="child" test="index:attribute-names"/>
</CachedPath>
</QueryPlan>
Why is the result empty?
Yours,
BenjaminCG
Christian Grün18 Dec 2015 15:38 #
Quoted text · Benjamin Gathmann · 3 lines
> If I run "index:attribute-names" in the GUI command line (as described > here: http://docs.basex.org/wiki/Indexes), I get an empty result and the > following Query Info:
The XQuery expression "
index:attribute-names" is a location path, not a function call. You will need to specify the name of the database as argument.Quoted text · Benjamin Gathmann · 29 lines
> > ¨Query: > index:attribute-names > Result: > - Hit(s): 0 Items > - Updated: 0 Items > - Printed: 0 Bytes > - Read Locking: local [database] > - Write Locking: none > Timing: > - Parsing: 1.08 ms > - Compiling: 0.2 ms > - Evaluating: 52.83 ms > - Printing: 0.02 ms > - Total Time: 54.13 ms > Query plan: > <QueryPlan compiled="true"> > <CachedPath> > <IterStep axis="child" test="index:attribute-names"/> > </CachedPath> > </QueryPlan> > > Why is the result empty? > > Yours, > Benjamin > > >
Written for BaseX 8.3. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery