You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@manifoldcf.apache.org by kw...@apache.org on 2020/11/21 09:00:02 UTC
svn commit: r1883688 [2/2] - in
/manifoldcf/branches/CONNECTORS-1653/connectors: ./ solr/
solr/connector/src/main/java/org/apache/manifoldcf/crawler/
solr/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/
solr/connector/src/main/java/or...
Added: manifoldcf/branches/CONNECTORS-1653/connectors/solr/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/solr/editSpecification_job_parameters.html
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1653/connectors/solr/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/solr/editSpecification_job_parameters.html?rev=1883688&view=auto
==============================================================================
--- manifoldcf/branches/CONNECTORS-1653/connectors/solr/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/solr/editSpecification_job_parameters.html (added)
+++ manifoldcf/branches/CONNECTORS-1653/connectors/solr/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/solr/editSpecification_job_parameters.html Sat Nov 21 09:00:02 2020
@@ -0,0 +1,149 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+#if($TABNAME == $ResourceBundle.getString('SolrIngester.ParametersTabName') && ${SEQNUM} == ${SELECTEDNUM})
+
+
+<table class="displaytable">
+
+<tr>
+ <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('SolrIngester.CollectionName'))</nobr></td>
+ <td class="value"><input name="s${SEQNUM}_collection" type="text"
+ value="$Encoder.attributeEscape($COLLECTION)" size="16" />
+ </td>
+ </tr>
+
+<tr>
+
+
+ <tr><td class="separator" colspan="2"><hr/></td></tr>
+ <tr>
+ <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('SolrIngester.FieldMappings'))</nobr></td>
+ <td class="boxcell">
+ <table class="formtable">
+ <tr class="formheaderrow">
+ <td class="formcolumnheader"></td>
+ <td class="formcolumnheader"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('SolrIngester.MetadataFieldName'))</nobr></td>
+ <td class="formcolumnheader"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('SolrIngester.FinalFieldName'))</nobr></td>
+ </tr>
+
+ #set($fieldcounter = 0)
+ #foreach($fieldmapping in $FIELDMAPPINGS)
+ #set($fieldcounterdisplay = $fieldcounter + 1)
+ #if(($fieldcounter % 2) == 0)
+ <tr class="evenformrow">
+ #else
+ <tr class="oddformrow">
+ #end
+ <td class="formcolumncell">
+ <a name="s${SEQNUM}_fieldmapping_$fieldcounter">
+ <input type="button" value="$Encoder.attributeEscape($ResourceBundle.getString('SolrIngester.Delete'))" alt="$Encoder.attributeEscape($ResourceBundle.getString('SolrIngester.DeleteFieldMapping'))$fieldcounterdisplay" onclick='javascript:s${SEQNUM}_deleteFieldMapping("$fieldcounter");'/>
+ <input type="hidden" name="s${SEQNUM}_fieldmapping_op_$fieldcounter" value="Continue"/>
+ <input type="hidden" name="s${SEQNUM}_fieldmapping_source_$fieldcounter" value="$Encoder.attributeEscape($fieldmapping.get('SOURCE'))"/>
+ <input type="hidden" name="s${SEQNUM}_fieldmapping_target_$fieldcounter" value="$Encoder.attributeEscape($fieldmapping.get('TARGET'))"/>
+ </a>
+ </td>
+ <td class="formcolumncell">
+ <nobr>$Encoder.bodyEscape($fieldmapping.get('SOURCE'))</nobr>
+ </td>
+ <td class="formcolumncell">
+ <nobr>$Encoder.bodyEscape($fieldmapping.get('TARGETDISPLAY'))</nobr>
+ </td>
+ </tr>
+ #set($fieldcounter = $fieldcounter + 1)
+ #end
+
+ #if($fieldcounter == 0)
+ <tr class="formrow"><td class="formmessage" colspan="3">$Encoder.bodyEscape($ResourceBundle.getString('SolrIngester.NoFieldMappingSpecified'))</td></tr>
+ #end
+
+ <tr class="formrow"><td class="formseparator" colspan="3"><hr/></td></tr>
+ <tr class="formrow">
+ <td class="formcolumncell">
+ <a name="fieldmapping">
+ <input type="button" value="$Encoder.attributeEscape($ResourceBundle.getString('SolrIngester.Add'))" alt="$Encoder.attributeEscape($ResourceBundle.getString('SolrIngester.AddFieldMapping'))" onclick="javascript:s${SEQNUM}_addFieldMapping();"/>
+ </a>
+ <input type="hidden" name="s${SEQNUM}_fieldmapping_count" value="$fieldcounter"/>
+ <input type="hidden" name="s${SEQNUM}_fieldmapping_op" value="Continue"/>
+ </td>
+ <td class="formcolumncell">
+ <nobr><input type="text" size="15" name="s${SEQNUM}_fieldmapping_source" value=""/></nobr>
+ </td>
+ <td class="formcolumncell">
+ <nobr><input type="text" size="15" name="s${SEQNUM}_fieldmapping_target" value=""/></nobr>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+<tr>
+ <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('SolrIngester.FieldId'))</nobr></td>
+ <td class="value"><input name="s${SEQNUM}_fieldid" type="text"
+ value="$Encoder.attributeEscape($FIELDID)" size="16" />
+ </td>
+ </tr>
+
+<tr>
+ <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('SolrIngester.FieldDate'))</nobr></td>
+ <td class="value"><input name="s${SEQNUM}_fielddate" type="text"
+ value="$Encoder.attributeEscape($FIELDDATE)" size="16" />
+ </td>
+ </tr>
+
+ <tr>
+ <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('SolrIngester.FieldContent'))</nobr></td>
+ <td class="value"><input name="s${SEQNUM}_fieldcontent" type="text"
+ value="$Encoder.attributeEscape($FIELDCONTENT)" size="16" />
+ </td>
+ </tr>
+
+
+ <tr>
+ <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('SolrIngester.FilterCondition'))</nobr></td>
+ <td class="value"><input name="s${SEQNUM}_filter" type="text"
+ value="$Encoder.attributeEscape($FILTERCONDITION)" size="16" />
+ </td>
+ </tr>
+
+ <tr>
+ <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('SolrIngester.RowsNumber'))</nobr></td>
+ <td class="value"><input name="s${SEQNUM}_rowsnumber" type="text"
+ value="$Encoder.attributeEscape($ROWSNUMBER)" size="16" />
+ </td>
+ </tr>
+
+
+</table>
+#else
+
+ #set($fieldcounter = 0)
+ #foreach($fieldmapping in $FIELDMAPPINGS)
+<input type="hidden" name="s${SEQNUM}_fieldmapping_source_$fieldcounter" value="$Encoder.attributeEscape($fieldmapping.get('SOURCE'))"/>
+<input type="hidden" name="s${SEQNUM}_fieldmapping_target_$fieldcounter" value="$Encoder.attributeEscape($fieldmapping.get('TARGET'))"/>
+ #set($fieldcounter = $fieldcounter + 1)
+ #end
+<input type="hidden" name="s${SEQNUM}_fieldmapping_count" value="$fieldcounter"/>
+<input type="hidden" name="s${SEQNUM}_collection" value="$Encoder.bodyEscape($COLLECTION)" />
+<input type="hidden" name="s${SEQNUM}_fieldid" value="$Encoder.bodyEscape($FIELDID)" />
+<input type="hidden" name="s${SEQNUM}_fielddate" value="$Encoder.bodyEscape($FIELDDATE)" />
+<input type="hidden" name="s${SEQNUM}_fieldcontent" value="$Encoder.bodyEscape($FIELDCONTENT)" />
+<input type="hidden" name="s${SEQNUM}_filter" value="$Encoder.bodyEscape($FILTERCONDITION)" />
+<input type="hidden" name="s${SEQNUM}_rowsnumber" value="$Encoder.bodyEscape($ROWSNUMBER)" />
+
+
+#end
\ No newline at end of file
Added: manifoldcf/branches/CONNECTORS-1653/connectors/solr/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/solr/editSpecification_job_parameters.js
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1653/connectors/solr/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/solr/editSpecification_job_parameters.js?rev=1883688&view=auto
==============================================================================
--- manifoldcf/branches/CONNECTORS-1653/connectors/solr/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/solr/editSpecification_job_parameters.js (added)
+++ manifoldcf/branches/CONNECTORS-1653/connectors/solr/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/solr/editSpecification_job_parameters.js Sat Nov 21 09:00:02 2020
@@ -0,0 +1,48 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<script type="text/javascript">
+<!--
+function s${SEQNUM}_addFieldMapping()
+{
+ if (editjob.s${SEQNUM}_fieldmapping_source.value == "")
+ {
+ alert("$Encoder.bodyEscape($ResourceBundle.getString('SolrIngester.NoFieldNameSpecified'))");
+ editjob.s${SEQNUM}_fieldmapping_source.focus();
+ return;
+ }
+ editjob.s${SEQNUM}_fieldmapping_op.value="Add";
+ postFormSetAnchor("s${SEQNUM}_fieldmapping");
+}
+
+function s${SEQNUM}_deleteFieldMapping(i)
+{
+ // Set the operation
+ eval("editjob.s${SEQNUM}_fieldmapping_op_"+i+".value=\"Delete\"");
+ // Submit
+ if (editjob.s${SEQNUM}_fieldmapping_count.value==i)
+ postFormSetAnchor("s${SEQNUM}_fieldmapping");
+ else
+ postFormSetAnchor("s${SEQNUM}_fieldmapping_"+i)
+ // Undo, so we won't get two deletes next time
+ eval("editjob.s${SEQNUM}_fieldmapping_op_"+i+".value=\"Continue\"");
+}
+
+
+
+//-->
+</script>
Added: manifoldcf/branches/CONNECTORS-1653/connectors/solr/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/solr/editSpecification_job_security.html
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1653/connectors/solr/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/solr/editSpecification_job_security.html?rev=1883688&view=auto
==============================================================================
--- manifoldcf/branches/CONNECTORS-1653/connectors/solr/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/solr/editSpecification_job_security.html (added)
+++ manifoldcf/branches/CONNECTORS-1653/connectors/solr/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/solr/editSpecification_job_security.html Sat Nov 21 09:00:02 2020
@@ -0,0 +1,57 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+#if($TABNAME == $ResourceBundle.getString('SolrIngester.SecurityTabName') && ${SEQNUM} == ${SELECTEDNUM})
+
+<table class="displaytable">
+ <tr><td class="separator" colspan="2"><hr/></td></tr>
+
+ <tr>
+ <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('SolrIngester.SecurityActivation'))</nobr></td>
+ <td class="value">
+ #if($SECURITYACTIVATION == 'true')
+ <input type="checkbox" checked="true" name="s${SEQNUM}_securityactivated" value="true"/>
+ #else
+ <input type="checkbox" name="s${SEQNUM}_securityactivated" value="true"/>
+ #end
+ </td>
+ </tr>
+ <tr>
+ <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('SolrIngester.SecurityField'))</nobr></td>
+ <td class="value"><input name="s${SEQNUM}_securityfield" type="text"
+ value="$Encoder.attributeEscape($SECURITYFIELD)" size="20" />
+ </td>
+ </tr>
+
+ <tr>
+ <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('SolrIngester.SecurityField2'))</nobr></td>
+ <td class="value"><input name="s${SEQNUM}_securityfield2" type="text"
+ value="$Encoder.attributeEscape($SECURITYFIELD2)" size="20" />
+ </td>
+ </tr>
+</table>
+
+#else
+
+
+
+<input type="hidden" name="s${SEQNUM}_securityactivated" value="$Encoder.bodyEscape($SECURITYACTIVATION)"/>
+<input type="hidden" name="s${SEQNUM}_securityfield" value="$Encoder.bodyEscape($SECURITYFIELD)"/>
+<input type="hidden" name="s${SEQNUM}_securityfield2" value="$Encoder.bodyEscape($SECURITYFIELD2)"/>
+
+
+#end
\ No newline at end of file
Added: manifoldcf/branches/CONNECTORS-1653/connectors/solr/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/solr/editSpecification_job_security.js
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1653/connectors/solr/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/solr/editSpecification_job_security.js?rev=1883688&view=auto
==============================================================================
--- manifoldcf/branches/CONNECTORS-1653/connectors/solr/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/solr/editSpecification_job_security.js (added)
+++ manifoldcf/branches/CONNECTORS-1653/connectors/solr/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/solr/editSpecification_job_security.js Sat Nov 21 09:00:02 2020
@@ -0,0 +1,53 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<script type="text/javascript">
+function s${SEQNUM}_checkSpecification()
+{
+ if (editjob.s${SEQNUM}_securityactivated.checked && editjob.s${SEQNUM}_securityfield.value == "")
+ {
+ alert("$Encoder.bodyJavascriptEscape($ResourceBundle.getString('SolrIngester.NoValueSecurityField'))");
+ editjob.s${SEQNUM}_securityfield.focus();
+ return false;
+ }
+
+ if (editjob.s${SEQNUM}_collection.value == "")
+ {
+ alert("$Encoder.bodyJavascriptEscape($ResourceBundle.getString('SolrIngester.NoValueCollection'))");
+ editjob.s${SEQNUM}_collection.focus();
+ return false;
+ }
+
+ if (editjob.s${SEQNUM}_fieldid.value == "")
+ {
+ alert("$Encoder.bodyJavascriptEscape($ResourceBundle.getString('SolrIngester.NoValueIdField'))");
+ editjob.s${SEQNUM}_fieldid.focus();
+ return false;
+ }
+
+ if (editjob.s${SEQNUM}_fielddate.value == "")
+ {
+ alert("$Encoder.bodyJavascriptEscape($ResourceBundle.getString('SolrIngester.NoValueDateField'))");
+ editjob.s${SEQNUM}_fielddate.focus();
+ return false;
+ }
+
+
+ return true;
+}
+//-->
+</script>
Added: manifoldcf/branches/CONNECTORS-1653/connectors/solr/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/solr/viewConfiguration_connector.html
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1653/connectors/solr/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/solr/viewConfiguration_connector.html?rev=1883688&view=auto
==============================================================================
--- manifoldcf/branches/CONNECTORS-1653/connectors/solr/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/solr/viewConfiguration_connector.html (added)
+++ manifoldcf/branches/CONNECTORS-1653/connectors/solr/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/solr/viewConfiguration_connector.html Sat Nov 21 09:00:02 2020
@@ -0,0 +1,39 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<table class="displaytable">
+ <tr>
+ <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('SolrIngester.SolrAddress'))</nobr></td>
+ <td class="value"><nobr>$Encoder.bodyEscape($SOLRADDRESS)</nobr></td>
+ </tr>
+ <tr>
+ <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('SolrIngester.SolrUsername'))</nobr></td>
+ <td class="value"><nobr>$Encoder.bodyEscape($SOLRUSERNAME)</nobr></td>
+ </tr>
+ <tr>
+ <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('SolrIngester.SolrPassword'))</nobr></td>
+ <td class="value"><nobr>**********</nobr></td>
+ </tr>
+ <tr>
+ <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('SolrIngester.ConnectionTimeout'))</nobr></td>
+ <td class="value"><nobr>$Encoder.bodyEscape($CONNECTIONTIMEOUT)</nobr></td>
+ </tr>
+ <tr>
+ <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('SolrIngester.SocketTimeout'))</nobr></td>
+ <td class="value"><nobr>$Encoder.bodyEscape($SOCKETTIMEOUT)</nobr></td>
+ </tr>
+</table>
Added: manifoldcf/branches/CONNECTORS-1653/connectors/solr/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/solr/viewSpecification_job_parameters.html
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1653/connectors/solr/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/solr/viewSpecification_job_parameters.html?rev=1883688&view=auto
==============================================================================
--- manifoldcf/branches/CONNECTORS-1653/connectors/solr/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/solr/viewSpecification_job_parameters.html (added)
+++ manifoldcf/branches/CONNECTORS-1653/connectors/solr/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/solr/viewSpecification_job_parameters.html Sat Nov 21 09:00:02 2020
@@ -0,0 +1,87 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<table class="displaytable">
+
+ <tr><td class="separator" colspan="2"><hr/></td></tr>
+ <tr>
+ <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('SolrIngester.CollectionName'))</nobr></td>
+ <td class="value"><nobr>$Encoder.bodyEscape($COLLECTION)</nobr></td>
+ </tr>
+ <tr>
+ <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('SolrIngester.FieldMappings'))</nobr></td>
+ <td class="boxcell">
+ <table class="formtable">
+ <tr class="formheaderrow">
+ <td class="formcolumnheader"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('SolrIngester.MetadataFieldName'))</nobr></td>
+ <td class="formcolumnheader"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('SolrIngester.FinalFieldName'))</nobr></td>
+ </tr>
+#set($fieldcounter = 0)
+#foreach($fieldmapping in $FIELDMAPPINGS)
+ #if(($fieldcounter % 2) == 0)
+ <tr class="evenformrow">
+ #else
+ <tr class="oddformrow">
+ #end
+ <td class="formcolumncell">
+ <nobr>$Encoder.bodyEscape($fieldmapping.get('SOURCE'))</nobr>
+ </td>
+ <td class="formcolumncell">
+ <nobr>$Encoder.bodyEscape($fieldmapping.get('TARGETDISPLAY'))</nobr>
+ </td>
+ </tr>
+ #set($fieldcounter = $fieldcounter + 1)
+#end
+#if($fieldcounter == 0)
+ <tr class="formrow"><td class="formmessage" colspan="2">$Encoder.bodyEscape($ResourceBundle.getString('SolrIngester.NoFieldMappingSpecified'))</td></tr>
+#end
+ </table>
+ </td>
+ </tr>
+ <tr><td class="separator" colspan="2"><hr/></td></tr>
+ <tr>
+ <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('SolrIngester.IdField'))</nobr></td>
+ <td class="value"><nobr>$Encoder.bodyEscape($FIELDID)</nobr></td>
+ </tr>
+
+ <tr><td class="separator" colspan="2"><hr/></td></tr>
+ <tr>
+ <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('SolrIngester.DateField'))</nobr></td>
+ <td class="value"><nobr>$Encoder.bodyEscape($FIELDDATE)</nobr></td>
+ </tr>
+
+ <tr><td class="separator" colspan="2"><hr/></td></tr>
+ <tr>
+ <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('SolrIngester.ContentField'))</nobr></td>
+ <td class="value"><nobr>$Encoder.bodyEscape($FIELDCONTENT)</nobr></td>
+ </tr>
+
+ <tr><td class="separator" colspan="2"><hr/></td></tr>
+ <tr>
+ <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('SolrIngester.FilterCondition'))</nobr></td>
+ <td class="value"><nobr>$Encoder.bodyEscape($FILTERCONDITION)</nobr></td>
+ </tr>
+
+ <tr><td class="separator" colspan="2"><hr/></td></tr>
+ <tr>
+ <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('SolrIngester.RowsNumber'))</nobr></td>
+ <td class="value"><nobr>$Encoder.bodyEscape($ROWSNUMBER)</nobr></td>
+ </tr>
+
+
+
+</table>
Added: manifoldcf/branches/CONNECTORS-1653/connectors/solr/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/solr/viewSpecification_job_security.html
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1653/connectors/solr/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/solr/viewSpecification_job_security.html?rev=1883688&view=auto
==============================================================================
--- manifoldcf/branches/CONNECTORS-1653/connectors/solr/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/solr/viewSpecification_job_security.html (added)
+++ manifoldcf/branches/CONNECTORS-1653/connectors/solr/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/solr/viewSpecification_job_security.html Sat Nov 21 09:00:02 2020
@@ -0,0 +1,38 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+
+
+<table class="displaytable">
+ <tr><td class="separator" colspan="2"><hr/></td></tr>
+ <tr>
+ <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('SolrIngester.SecurityActivation'))</nobr></td>
+ <td class="value"><nobr>$Encoder.bodyEscape($SECURITYACTIVATION)</nobr></td>
+ </tr>
+ <tr><td class="separator" colspan="2"><hr/></td></tr>
+ <tr>
+ <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('SolrIngester.SecurityField'))</nobr></td>
+ <td class="value"><nobr>$Encoder.bodyEscape($SECURITYFIELD)</nobr></td>
+ </tr>
+ <tr>
+ <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('SolrIngester.SecurityField2'))</nobr></td>
+ <td class="value"><nobr>$Encoder.bodyEscape($SECURITYFIELD2)</nobr></td>
+ </tr>
+
+
+
+</table>