lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aneeshkappu <>
Subject Solr Phrase Count : How to get count of a phrase in a text field solr
Date Sat, 24 Feb 2018 15:58:43 GMT
Hi All, I want to get the count of a phrase from a document .
Currently im using Shingle Filter factory but it consuming a large disk
space. Any alternate ways or any way to optimize this.
currently it consuming 40GB for just 46K records

my schema setting is given below 

<field name="data_text" type="texto_indexado" indexed="true" stored="true"

 <fieldType name="texto_indexado" class="solr.TextField" omitNorms="false">     
        <analyzer type="index">
            <tokenizer class="solr.StandardTokenizerFactory"/> 
            <filter class="solr.LowerCaseFilterFactory"/>   
            <filter class="solr.ShingleFilterFactory" maxShingleSize="10"
          <analyzer type="query"> 
            <tokenizer class="solr.StandardTokenizerFactory"/>
            <filter class="solr.LowerCaseFilterFactory"/>

Sent from:

View raw message