You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by sudeep kumar <su...@yahoo.co.in> on 2015/06/24 15:50:25 UTC

Term Vector and Optimization

I want to know what is impact to disable term vector to existing production environment, I mean how new segments create and how old segments will merge with new segments because before this term vector was enable.

I have one more question Is schema.xml file read during solr core optimization? 
Thanks,Sudeep


Re: Term Vector and Optimization

Posted by Upayavira <uv...@odoko.co.uk>.

On Wed, Jun 24, 2015, at 10:51 PM, sudeepgarg wrote:
>  I would like to ask that after merging with old segments which was
>  generated
> with term vectors=true this won't cause any trouble i.e. index corruption
> or
> index mismatch. and new segments will be merge with old segments
> irrespective we have disable the term feature or not. 
> And we are fine with this that data stay in index. We are just try to
> disable term vector feature in our environment as we don't require it any
> more. 
> 
> Is this correct what i understood please confirm this?

I would expect that this will be absolutely fine. What I'd suggest is
simply that you try it. You'd know pretty quickly if it were to cause
you issues.

Upayavira

Re: Term Vector and Optimization

Posted by sudeepgarg <su...@yahoo.co.in>.
 I would like to ask that after merging with old segments which was generated
with term vectors=true this won't cause any trouble i.e. index corruption or
index mismatch. and new segments will be merge with old segments
irrespective we have disable the term feature or not. 
And we are fine with this that data stay in index. We are just try to
disable term vector feature in our environment as we don't require it any
more. 

Is this correct what i understood please confirm this?



--
View this message in context: http://lucene.472066.n3.nabble.com/Term-Vector-and-Optimization-tp4213647p4213755.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Term Vector and Optimization

Posted by Upayavira <uv...@odoko.co.uk>.

On Wed, Jun 24, 2015, at 08:41 PM, sudeepgarg wrote:
> Hi,
> 
> can someone help me in this regard?


What additional help do you need?

Upayavira

Re: Term Vector and Optimization

Posted by sudeepgarg <su...@yahoo.co.in>.
Hi,

can someone help me in this regard?


Thanks,



--
View this message in context: http://lucene.472066.n3.nabble.com/Term-Vector-and-Optimization-tp4213647p4213732.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Term Vector and Optimization

Posted by sudeepgarg <su...@yahoo.co.in>.
as i understood that after merging with old segments which was generated with
term vectors=true this won't cause any trouble i.e. index corruption or
index mismatch. and new segments will be merge with old segments
irrespective we have disable the term feature or not. And we are fine with
this that data stay in index. We are just try to disable term vector feature
in our environment as we don't require it any more.   



--
View this message in context: http://lucene.472066.n3.nabble.com/Term-Vector-and-Optimization-tp4213647p4213657.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Term Vector and Optimization

Posted by Upayavira <uv...@odoko.co.uk>.

On Wed, Jun 24, 2015, at 03:27 PM, Upayavira wrote:
> 
> 
> On Wed, Jun 24, 2015, at 02:50 PM, sudeep kumar wrote:
> > I want to know what is impact to disable term vector to existing
> > production environment, I mean how new segments create and how old
> > segments will merge with new segments because before this term vector was
> > enable.
> > 
> > I have one more question Is schema.xml file read during solr core
> > optimization? 
> 
> Generally, if you disable something like that, the data will stay in the
> index but become inaccessible. Then, as segments are merged, the new
> segments will exclude that data.
> 
> schema.xml is read at startup and when cores are reloaded. Generally,
> you shouldn't be optimizing these days - it actually, ironically, makes
> things much less optimal.

To say a little more - if you are really sure you want to get rid of the
raw data that is term vectors, then you should edit your schema, reload
the core, then optimize.

But the real question becomes, why is storing term vectors causing you
so much trouble? What problem are you trying to solve with this effort?

Upayavira

Re: Term Vector and Optimization

Posted by Upayavira <uv...@odoko.co.uk>.

On Wed, Jun 24, 2015, at 02:50 PM, sudeep kumar wrote:
> I want to know what is impact to disable term vector to existing
> production environment, I mean how new segments create and how old
> segments will merge with new segments because before this term vector was
> enable.
> 
> I have one more question Is schema.xml file read during solr core
> optimization? 

Generally, if you disable something like that, the data will stay in the
index but become inaccessible. Then, as segments are merged, the new
segments will exclude that data.

schema.xml is read at startup and when cores are reloaded. Generally,
you shouldn't be optimizing these days - it actually, ironically, makes
things much less optimal.

Upayavira