I would focus on fields not being used. Then, on types not used. Then, you
will see what was actually custom to your setup.
In solrconfig.xml, I would focus on request handlers and maybe defaults
used.
Regards,
Alex
On Mon, May 6, 2019, 2:25 PM Doug Reeder, wrote:
> Thanks, xmlstarlet mak
Unfortunately…everything. You may have to compare tag-by-tag, especially in
solrconfig.xml. In the schema, all your fieldTypes and the associated fields
are critical….
> On May 6, 2019, at 11:25 AM, Doug Reeder wrote:
>
> Thanks, xmlstarlet makes it straightforward to get the canonical XML.
Thanks, xmlstarlet makes it straightforward to get the canonical XML.
It looks like our schema.xml files are rather different from files
like solr/example/solr/collection1/conf/schema.xml
Any suggestions of sections I should focus on?
On Sat, May 4, 2019 at 8:11 AM Alexandre Rafalovitch
wrote:
XMLStarlet still works just fine. So if you want the fast way, that is the
one.
Otherwise, some xml editors can do it (not sure which ones) or you can look
for XSLT or XQuery examples on the web.
XMLStarlet actually just spits out XSLT internally, or even externally if
you ask.
Regards,
Ale
Wait. I was recommending you diff the 4.2.1 solrconfig and the solrconfig
you’re using. Ditto with the schema. If you’re trying to diff the 7x or 8x ones
they’ll be totally different.
But if you are getting massive differences in the yo4.2.1 stock and what you’re
using, then whoever set it up m
Thanks! Diffs for solr.xml and zoo.cfg were easy, but it looks like we'll
need to strip the comments before we can get a useful diff of
solrconfig.xml or schema.xml. Can you recommend tools to normalize XML
files? XMLStarlet is hosted on SourceForge, which I no longer trust, and
hasn't been updat
On 5/3/2019 1:44 PM, Erick Erickson wrote:
Then git will let you check out any previous branch. 4.2 is from before we
switched to Git, co I’m not sure you can go that far back, but 4x is probably
close enough for comparing configs.
Git has all of Lucene's history, and most of Solr's history,
Doug:
You can pull any version of Solr from Git.
git clone https://gitbox.apache.org/repos/asf/lucene-solr.git some_local_dir
Then git will let you check out any previous branch. 4.2 is from before we
switched to Git, co I’m not sure you can go that far back, but 4x is probably
close enough fo
Thanks! Alexandre's presentation is helpful in understanding what's not
essential. David's suggesting of comparing config files is good - I'll
have to see if I can dig up the config files for version 4.2, which we're
currently running.
I'll also look into updating to a supported version. I guess
Consider trying to diff configs from a default at the version it was copied
from, if possible. Even better, the configs should be in source control and
then you can browse history with commentary and sometimes links to issue
trackers and code reviews.
Also a big part that you can’t see by staring
My presentation from 2016 may be interesting as I deconstruct a Solr
example, including the tips/commands on how to do so:
https://www.slideshare.net/arafalov/rebuilding-solr-6-examples-layer-by-layer-lucenesolrrevolution-2016
The commands start around the slide 20.
Hope this helps,
Alex.
P.s
11 matches
Mail list logo