|
388 | 388 | to occupy. Note that when this option is specified, the size |
389 | 389 | and initialSize parameters are ignored. |
390 | 390 | --> |
391 | | - <filterCache size="512" |
392 | | - initialSize="512" |
393 | | - autowarmCount="128"/> |
| 391 | + <filterCache size="2048" |
| 392 | + initialSize="2048" |
| 393 | + autowarmCount="1024"/> |
394 | 394 |
|
395 | 395 | <!-- Query Result Cache |
396 | 396 |
|
|
537 | 537 | <arr name="queries"> |
538 | 538 | <!-- Work search --> |
539 | 539 | <lst> |
540 | | - <str name="userWorkQuery">harry potter</str> |
541 | | - <str name="q">({!edismax q.op="AND" qf="text alternative_title^20 author_name^20" bf="min(100,edition_count)" v=$userWorkQuery})</str> |
542 | 540 | <str name="fq">type:work</str> |
| 541 | + <str name="start">0</str> |
543 | 542 | <str name="rows">20</str> |
| 543 | + <str name="wt">json</str> |
| 544 | + <str name="spellcheck">true</str> |
| 545 | + <str name="spellcheck.count">3</str> |
| 546 | + <str name="fl">want_to_read_count,author_name,ebook_access,ratings_average,key,first_publish_year,public_scan_b,id_wikisource,id_project_runeberg,editions:[subquery],cover_edition_key,cover_i,ratings_count,language,author_key,lending_identifier_s,id_openstax,id_cita_press,id_project_gutenberg,id_librivox,lending_edition_s,subtitle,ia_collection_s,edition_count,has_fulltext,title,id_standard_ebooks,ia</str> |
| 547 | + <str name="userWorkQuery">harry potter</str> |
| 548 | + <str name="editions.fq">type:edition</str> |
| 549 | + <str name="userEdQuery">harry potter</str> |
| 550 | + <str name="editions.userEdQuery">harry potter</str> |
| 551 | + <str name="fullEdQuery">({!edismax bq="language:eng^40 ebook_access:public^10 ebook_access:borrowable^8 ebook_access:printdisabled^2 cover_i:*^2" v=$userEdQuery qf="text alternative_title^4 author_name^4"})</str> |
| 552 | + <str name="q">+({!edismax q.op="AND" qf="text alternative_title^10 author_name^10" pf="alternative_title^10 author_name^10" bf="min(100,edition_count) min(100,def(readinglog_count,0))" v=$userWorkQuery}) +(_query_:"{!parent which=type:work v=$fullEdQuery filters=$editions.fq}" OR edition_count:0)</str> |
| 553 | + <str name="hl">true</str> |
| 554 | + <str name="hl.fl">subject</str> |
| 555 | + <str name="hl.q">harry potter</str> |
| 556 | + <str name="hl.snippets">10</str> |
| 557 | + <str name="editions.q">({!terms f=_root_ v=$row.key}) AND ({!edismax bq="language:eng^40 ebook_access:public^10 ebook_access:borrowable^8 ebook_access:printdisabled^2 cover_i:*^2" v=$userEdQuery qf="text alternative_title^4 author_name^4"})</str> |
| 558 | + <str name="editions.rows">1</str> |
| 559 | + <str name="editions.fl">want_to_read_count,ebook_access,ratings_average,key,first_publish_year,id_project_runeberg,cover_edition_key,ia,cover_i,ratings_count,language,lending_identifier_s,id_openstax,id_cita_press,id_project_gutenberg,id_librivox,lending_edition_s,subtitle,ia_collection_s,edition_count,has_fulltext,title,id_standard_ebooks,public_scan_b,id_wikisource</str> |
544 | 560 | <str name="facet">true</str> |
545 | 561 | <str name="facet.field">author_facet</str> |
546 | 562 | <str name="facet.field">first_publish_year</str> |
547 | 563 | <str name="facet.field">has_fulltext</str> |
| 564 | + <str name="facet.field">public_scan_b</str> |
548 | 565 | <str name="facet.field">language</str> |
549 | 566 | <str name="facet.field">person_facet</str> |
550 | 567 | <str name="facet.field">place_facet</str> |
|
0 commit comments