Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
title: Dropdowns for collection/core, for fields on the schema-page and for field-types on the analyze page are now using a contains-filtering
type: changed
authors:
- name: Renato Haeberli
links:
- name: GITHUB#4121
url: https://github.com/apache/solr/pull/4121
2 changes: 2 additions & 0 deletions solr/webapp/web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ <h2>Connection recovered...</h2>
<select placeholder-text-single="'Collection Selector'"
ng-model="currentCollection"
chosen
search-contains="true"
ng-change="showCollection(currentCollection)"
ng-options="collection.name for collection in aliases_and_collections"></select>
</div>
Expand Down Expand Up @@ -231,6 +232,7 @@ <h2>Connection recovered...</h2>
<select placeholder-text-single="'Core Selector'"
ng-model="currentCore"
chosen
search-contains="true"
ng-change="showCore(currentCore)"
ng-options="core.name for core in cores"></select>
</div>
Expand Down
8 changes: 7 additions & 1 deletion solr/webapp/web/partials/analysis.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,13 @@
<li class="settings-holder clearfix">
<div class="settings clearfix">
<label for="type_or_name">Analyse Fieldname / FieldType:</label>
<select style="width:130px" chosen ng-change="changeFieldOrType()" id="type_or_name" ng-model="fieldOrType" ng-options="f.value as f.label group by f.group for f in fieldsAndTypes"></select>
<select style="width:130px"
chosen ng-change="changeFieldOrType()" id="type_or_name"
ng-model="fieldOrType"
search-contains="true"
ng-options="f.value as f.label group by f.group for f in fieldsAndTypes">

</select>

<a id="tor_schema" ng-href="#/{{core}}/schema?{{schemaBrowserUrl}}"><span>Schema Browser</span>&nbsp;</a>

Expand Down
3 changes: 2 additions & 1 deletion solr/webapp/web/partials/schema.html
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,7 @@ <h2>
ng-model="fieldOrType"
chosen
data-placeholder="Please select ..."
search-contains="true"
ng-change="selectFieldOrType()"
ng-options="f.value as f.label group by f.group for f in fieldsAndTypes"></select>

Expand Down Expand Up @@ -445,7 +446,7 @@ <h2>
</form>
</div>
</dd>

<dt class="dynamic-field" ng-class="{active: selectedType=='Dynamic Field'}" ng-show="leftbar.dynamicFields">Dynamic Field</dt>
<dd class="dynamic-field" ng-class="{active: selectedType=='Dynamic Field'}" ng-repeat="field in leftbar.dynamicFields"><a href="#/{{core}}/schema?dynamic-field={{field}}">{{field}}</a></dd>

Expand Down