Thread: Troubleshooting X-ray functionality for "War and Peace"
View Single Post
Old 07-22-2018, 12:57 PM   #48
j.p.s
Grand Sorcerer
j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.
 
Posts: 5,813
Karma: 103362673
Join Date: Apr 2011
Device: pb360
Quote:
Originally Posted by Ephemerality View Post
It doesn't actually do any matching from the X-Ray file unless it's changed recently, so you should be good to use whichever entity you want to keep, change the references to that entity id (in entity_description, entity_exerpt, exerpt, and occurrence).
Quote:
Originally Posted by Ephemerality View Post
Yeah, I haven't seen it make a difference so far, unless they've finally started doing something with it. I just set it to be the same as the entity's name and leave it at that.
I was able to use that advice to merge entities 92 and 708 into 90. I did it manually for the related_entities column in excerpt, but it should be possible to automate that. I think I have a handle on doing the reverse, splitting a single entity that in the original XRAY file erroneously lists multiple people as a single person, but I see no way to automate that.

One other problem that I have run into is that if I do a round trip by dumping the database then making what should be a duplicate db by loading the dump into a new db, the kindle does not recognize that new db as a valid XRAY file. Do you know what might be happening with that?
j.p.s is offline   Reply With Quote