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 Artyom <ic...@mail.ru> on 2013/01/24 10:27:31 UTC

why search time increases without term vectors?

What term vectors are used for except MoreLikeThis and Highlighting? I did
not use MoreLikeThis and Highlighting, but response time increases if I
remove term vectors.



--
View this message in context: http://lucene.472066.n3.nabble.com/why-search-time-increases-without-term-vectors-tp4035900.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: why search time increases without term vectors?

Posted by Artyom <ic...@mail.ru>.
Yes, I guess, full index replication is a general bug of 4.x. I tried the
same routine with termVectors and got the same result:

1. stopped all Solr instances
2. cleared data folders of all instances
3. ran master, made full-import with optimize option using DIH
4. after import ran slave and did replication
5. ran solrmeter to send updates to the master and gets from the slave

the full index was replicated every 20 seconds (not only modified segments).

To fix this:

1) I stopped solrmeter
2) stopped the slave and cleared its data directory
3) clicked Optimize in the control panel of the master
4) ran slave and did replication
5) ran solrmeter to send updates to the master and gets from the slave

But this replication bug didn't affect increased response time. There is
still a strong relation between absense of termVectors and increased
response time. I have no idea why...



--
View this message in context: http://lucene.472066.n3.nabble.com/why-search-time-increases-without-term-vectors-tp4035900p4037010.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: why search time increases without term vectors?

Posted by Upayavira <uv...@odoko.co.uk>.
No, not at all. Presence or not of term vectors won't impact replication
in that way.

For SolrCloud, it is up to each node to create term vectors when it
receives a document for indexing. Using 3.x style replication, the slave
will pull all changed files making up changed segments on replication,
and this will include term vector files.

Upayavira

On Tue, Jan 29, 2013, at 06:21 AM, Artyom wrote:
> I guess, response time increased, because I use master-slave
> configuration in
> Solr 4.0 and Solr 4.1: if there are no termVectors, the full index is
> replicated; if there are termVectors, only modified segments of the index
> are transferred from the master to slaves. Am I right?
> 
> 
> 
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/why-search-time-increases-without-term-vectors-tp4035900p4036962.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Re: why search time increases without term vectors?

Posted by Artyom <ic...@mail.ru>.
I guess, response time increased, because I use master-slave configuration in
Solr 4.0 and Solr 4.1: if there are no termVectors, the full index is
replicated; if there are termVectors, only modified segments of the index
are transferred from the master to slaves. Am I right?



--
View this message in context: http://lucene.472066.n3.nabble.com/why-search-time-increases-without-term-vectors-tp4035900p4036962.html
Sent from the Solr - User mailing list archive at Nabble.com.