<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Texto de globo Car";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";
mso-fareast-language:EN-US;}
span.TextodegloboCar
{mso-style-name:"Texto de globo Car";
mso-style-priority:99;
mso-style-link:"Texto de globo";
font-family:"Tahoma","sans-serif";}
span.EstiloCorreo19
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="ES" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Dear all,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am configuring the JSP search functionality with a custom formatter.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I followed the documentation and the example formatter, with good results in pagination, sorting, and search content.<o:p></o:p></p>
<p class="MsoNormal">However, I can not find how to implement a type search with three options: search any word (OR option, it is the default behavior), search all words (AND option), and search a literal phrase (words between quotations).<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I found that SOLR has an option to configure AND search with local parameters (i.e., using “{¡q.op=AND}” attached before the search query), but I can not find the way to implement this with the JSP search formatter configuration, or by
code in the formatter.<o:p></o:p></p>
<p class="MsoNormal">Also, I can not find the way to cover the search query with quotations when the “search a literal phrase” option is selected, without requiring the user to explicitly write the quotations in the search query.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Can anyone help me, please?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Best regards,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b><span style="mso-fareast-language:ES">Rafael Cano Parra<o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="mso-fareast-language:ES">Servicio de Informática<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:ES">Tel.: 947 52 20 13 – Ext.: 34 941<o:p></o:p></span></p>
<p class="MsoNormal"><a href="mailto:rafaelcano@saludcastillayleon.es"><span style="mso-fareast-language:ES">rafaelcano@saludcastillayleon.es</span></a><span style="mso-fareast-language:ES"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:ES"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="color:#1F497D;mso-fareast-language:ES">Hospital Santos Reyes<o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:ES">Avda. Ruperta Baraya, 6<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:ES">09400 Aranda de Duero (Burgos)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:ES">Tel.: 947 52 20 00 – Ext.: 34 600<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:ES">Fax: 947 52 20 12<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:ES"><o:p> </o:p></span></p>
<p class="MsoNormal"><a href="https://www.saludcastillayleon.es/HSReyesAranda/"><span style="mso-fareast-language:ES;text-decoration:none"><img border="0" width="44" height="32" id="Imagen_x0020_1" src="cid:image002.jpg@01D28B5A.DF144210" alt="logo_hsry"></span></a><span style="mso-fareast-language:ES">
</span><a href="https://www.saludcastillayleon.es/"><span style="mso-fareast-language:ES;text-decoration:none"><img border="0" width="63" height="32" id="Imagen_x0020_2" src="cid:image004.png@01D28B5A.DF144210" alt="logo_sacyl"></span></a><span style="mso-fareast-language:ES"> </span><a href="https://www.jcyl.es/"><span style="mso-fareast-language:ES;text-decoration:none"><img border="0" width="53" height="32" id="Imagen_x0020_3" src="cid:image005.png@01D28B57.8A0EFF60" alt="logo_jcyl"></span></a><span style="mso-fareast-language:ES"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
--- AVISO SOBRE CONFIDENCIALIDAD. La legislación española ampara el secreto de las comunicaciones. Este correo electrónico y sus anexos son estrictamente confidenciales. Si Vd. no es el destinatario del mismo, por favor, notifíquenoslo inmediatamente y destruya
el original. No deberá copiar este mensaje ni sus anexos o usarlo para propósito alguno, ni divulgar su contenido a ninguna persona.
<p></p>
---- ----
<p></p>
--- WARNING ABOUT CONFIDENTIALITY. Spanish law guarantees privacy in electronic communications. This message and its attachments are confidential. If you are not the intended recipient please, notify us immediately and destroy the original. You should not copy
this message or use it for any purpose, nor disclose its content to any other person.
</body>
</html>