Skip to content
Permalink
Browse files

first attempt at adding real names for authors to titles -- can't cor…

…rolate pseudomyms with credit names
  • Loading branch information
hossman committed Feb 25, 2011
1 parent d407b19 commit 37652b88cd9148c2bc9345f04631f6180139926d
Showing with 11 additions and 0 deletions.
  1. +9 −0 src/isfdb-solr-home/conf/isfdb-dih.xml
  2. +2 −0 src/isfdb-solr-home/conf/schema.xml
@@ -47,6 +47,15 @@
IF(A.author_wikipedia IS NULL, '',
A.author_wikipedia) as author_wikipedia_urls
from authors A">
<entity name="pseudonym_authors"
processor="CachedSqlEntityProcessor"
where="author_z=author.author_ids"
query="select p.pseudonym as author_z,
p.author_id as real_author_ids,
a.author_canonical as real_author_names
from pseudonyms p,
authors a
where p.author_id = a.author_id "/>
</entity>
</entity>
</entity>
@@ -73,6 +73,8 @@

<field name="author_ids" type="string" multiValued="true" />
<field name="author_names" type="simpletext" multiValued="true"/>
<field name="real_author_ids" type="string" multiValued="true" />
<field name="real_author_names" type="simpletext" multiValued="true"/>

<!-- indicates the author is relatively popular, and should be
"featured" on the front page of imdb.com when new books come

0 comments on commit 37652b8

Please sign in to comment.
You can’t perform that action at this time.