Last change
on this file since 29288 was 29135, checked in by ak19, 10 years ago |
Part of port from lucene3.3.0 to lucene4.7.2. Solr related. conf and lib folders for solr4.7.2.
|
File size:
583 bytes
|
Line | |
---|
1 | #**
|
---|
2 | * An extremely plain / debug version of hit.vm
|
---|
3 | *#
|
---|
4 |
|
---|
5 | <table>
|
---|
6 | ## For each field
|
---|
7 | #foreach( $fieldName in $doc.fieldNames )
|
---|
8 | ## For each value
|
---|
9 | #foreach( $value in $doc.getFieldValues($fieldName) )
|
---|
10 | <tr>
|
---|
11 | ## Field Name
|
---|
12 | <th align="right" valign="top">
|
---|
13 | #if( $foreach.count == 1 )
|
---|
14 | $fieldName:
|
---|
15 | #end
|
---|
16 | </th>
|
---|
17 | ## Field Value(s)
|
---|
18 | <td align="left" valign="top">
|
---|
19 | $esc.html($value) <br/>
|
---|
20 | </td>
|
---|
21 | </tr>
|
---|
22 | #end ## end for each value
|
---|
23 | #end ## end for each field
|
---|
24 | </table>
|
---|
25 | <hr/>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.