I just wanted to check my understanding of how synonyms work with indexes
in a cluster.
Am I right in thinking that each cluster will need the same synonyms file?
Will it matter if when a cluster is being updated the synonyms files are
out of sync (e.g. if you are updating each machine in turn, a new machine
will be added to the cluster with a new synonyms file that is not the same
as the other machines).
Or is the synonyms file stored with the index and not referenced again?
simon
On Sunday, March 24, 2013 1:11:02 PM UTC+1, Chris Greening wrote:
Hi All,
I just wanted to check my understanding of how synonyms work with indexes
in a cluster.
Am I right in thinking that each cluster will need the same synonyms file?
Will it matter if when a cluster is being updated the synonyms files are
out of sync (e.g. if you are updating each machine in turn, a new machine
will be added to the cluster with a new synonyms file that is not the same
as the other machines).
Or is the synonyms file stored with the index and not referenced again?
So when I'm updating a node in the cluster and I put a new synonyms file on
that node. Will it break anything if the other nodes have an older version
of the synonyms file?
On Sunday, March 24, 2013 6:45:10 PM UTC, simonw wrote:
your understanding is correct I'd say!
simon
On Sunday, March 24, 2013 1:11:02 PM UTC+1, Chris Greening wrote:
Hi All,
I just wanted to check my understanding of how synonyms work with indexes
in a cluster.
Am I right in thinking that each cluster will need the same synonyms file?
Will it matter if when a cluster is being updated the synonyms files are
out of sync (e.g. if you are updating each machine in turn, a new machine
will be added to the cluster with a new synonyms file that is not the same
as the other machines).
Or is the synonyms file stored with the index and not referenced again?
well you will be indexing / searching with new synonyms which essentially
breaks your search. if you do update stuff like this you might want to
consider creating a new index and rather reindex or only apply synonyms at
search time and then you might see slightly different results while you
upgrade but that is feasible I guess?
simon
On Monday, March 25, 2013 10:56:06 AM UTC+1, Chris Greening wrote:
So when I'm updating a node in the cluster and I put a new synonyms file
on that node. Will it break anything if the other nodes have an older
version of the synonyms file?
On Sunday, March 24, 2013 6:45:10 PM UTC, simonw wrote:
your understanding is correct I'd say!
simon
On Sunday, March 24, 2013 1:11:02 PM UTC+1, Chris Greening wrote:
Hi All,
I just wanted to check my understanding of how synonyms work with
indexes in a cluster.
Am I right in thinking that each cluster will need the same synonyms
file?
Will it matter if when a cluster is being updated the synonyms files are
out of sync (e.g. if you are updating each machine in turn, a new machine
will be added to the cluster with a new synonyms file that is not the same
as the other machines).
Or is the synonyms file stored with the index and not referenced again?
well you will be indexing / searching with new synonyms which essentially
breaks your search. if you do update stuff like this you might want to
consider creating a new index and rather reindex or only apply synonyms at
search time and then you might see slightly different results while you
upgrade but that is feasible I guess?
simon
On Monday, March 25, 2013 10:56:06 AM UTC+1, Chris Greening wrote:
So when I'm updating a node in the cluster and I put a new synonyms file
on that node. Will it break anything if the other nodes have an older
version of the synonyms file?
On Sunday, March 24, 2013 6:45:10 PM UTC, simonw wrote:
your understanding is correct I'd say!
simon
On Sunday, March 24, 2013 1:11:02 PM UTC+1, Chris Greening wrote:
Hi All,
I just wanted to check my understanding of how synonyms work with
indexes in a cluster.
Am I right in thinking that each cluster will need the same synonyms
file?
Will it matter if when a cluster is being updated the synonyms files are
out of sync (e.g. if you are updating each machine in turn, a new machine
will be added to the cluster with a new synonyms file that is not the same
as the other machines).
Or is the synonyms file stored with the index and not referenced again?
I think it would be quite a rare thing, so creating a new index would make
sense.
On Monday, March 25, 2013 10:22:05 AM UTC, simonw wrote:
well you will be indexing / searching with new synonyms which essentially
breaks your search. if you do update stuff like this you might want to
consider creating a new index and rather reindex or only apply synonyms at
search time and then you might see slightly different results while you
upgrade but that is feasible I guess?
simon
On Monday, March 25, 2013 10:56:06 AM UTC+1, Chris Greening wrote:
So when I'm updating a node in the cluster and I put a new synonyms file
on that node. Will it break anything if the other nodes have an older
version of the synonyms file?
On Sunday, March 24, 2013 6:45:10 PM UTC, simonw wrote:
your understanding is correct I'd say!
simon
On Sunday, March 24, 2013 1:11:02 PM UTC+1, Chris Greening wrote:
Hi All,
I just wanted to check my understanding of how synonyms work with
indexes in a cluster.
Am I right in thinking that each cluster will need the same synonyms
file?
Will it matter if when a cluster is being updated the synonyms files
are out of sync (e.g. if you are updating each machine in turn, a new
machine will be added to the cluster with a new synonyms file that is not
the same as the other machines).
Or is the synonyms file stored with the index and not referenced again?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.