Skip to content

Commit f185ff0

Browse files
Merge pull request #195 from marblestation/comment_pubnote_not_omit
Updated schema: comment+pubnote will not omit positions
2 parents 960d907 + 53995be commit f185ff0

File tree

1 file changed

+6
-5
lines changed
  • contrib/examples/adsabs/server/solr/collection1/conf

1 file changed

+6
-5
lines changed

contrib/examples/adsabs/server/solr/collection1/conf/schema.xml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@
6868
at the beginning, then you should also review the code inside: AqpAdsabsExpandAuthorSearchProcessor.normalizeAuthorName() -->
6969

7070
<analyzer type="query">
71+
<!-- <filter class="org.apache.solr.analysis.DiagnoseFilterFactory" msg="author_query"/> -->
7172
<tokenizer class="solr.KeywordTokenizerFactory" />
7273
<!-- deal with natural order queries (this is used only at query time) -->
7374
<filter
@@ -779,7 +780,7 @@
779780
<tokenizer class="solr.KeywordTokenizerFactory" />
780781
<filter class="solr.LowerCaseFilterFactory" />
781782
<filter class="solr.TrimFilterFactory" />
782-
<!--<filter class="org.apache.solr.analysis.DiagnoseFilterFactory" msg="query"/> -->
783+
<!-- <filter class="org.apache.solr.analysis.DiagnoseFilterFactory" msg="query"/> -->
783784
</analyzer>
784785
</fieldType>
785786

@@ -880,6 +881,8 @@
880881
<fieldType name="affiliation_tokens" class="solr.TextField"
881882
positionIncrementGap="100">
882883
<analyzer type="index">
884+
<!-- <filter class="org.apache.solr.analysis.DiagnoseFilterFactory" msg="searcher"/> -->
885+
883886
<charFilter class="solr.HTMLStripCharFilterFactory" />
884887

885888
<!-- tokenize on | or / -->
@@ -1418,12 +1421,10 @@
14181421
stored="true" omitNorms="true" />
14191422

14201423
<field name="comment" type="ads_text" indexed="true"
1421-
stored="true" multiValued="true" omitNorms="true"
1422-
omitTermFreqAndPositions="true" />
1424+
stored="true" multiValued="true" omitNorms="true" />
14231425

14241426
<field name="pubnote" type="ads_text" indexed="true"
1425-
stored="true" multiValued="true" omitNorms="true"
1426-
omitTermFreqAndPositions="true" />
1427+
stored="true" multiValued="true" omitNorms="true" />
14271428

14281429
<field name="copyright" type="affiliation_text" indexed="true"
14291430
stored="true" omitNorms="true" />

0 commit comments

Comments
 (0)