lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Hellman <jhell...@innoventsolutions.com>
Subject Re: Not able to search Spanish word with ascent in solr
Date Mon, 20 May 2013 16:58:54 GMT
And use the /terms request handler to view what is present in the field:

/solr/terms?terms.fl=text_es&terms.prefix=a

You're looking to ensure the index does, in fact, have the accented characters present.  It's
just a sanity check, but could possibly save you a little (sanity, that is).

Jason

On May 20, 2013, at 12:51 PM, "Jack Krupansky" <jack@basetechnology.com> wrote:

> Try the Solr Admin UI Analysis page - enter text for both index and query for your field
and see whether the final terms still have their accents.
> 
> -- Jack Krupansky
> 
> -----Original Message----- From: jignesh
> Sent: Monday, May 20, 2013 10:46 AM
> To: solr-user@lucene.apache.org
> Subject: Re: Not able to search Spanish word with ascent in solr
> 
> Thanks for the reply..
> 
> I am send below type of xml to solr
> 
> <?xml version="1.0" encoding="UTF-8"?><add><doc>
> <field name="id">15</field>
> <field name="id_i">15</field>
> <field name="name">Mis nuevos colgantes de PRIMARK</field>
> <field name="features">&amp;iquest;Alguna vez os hab&amp;eacute;is pasado
> por la zona de bisuter&amp;iacute;a de PRIMARK? Cada vez que me doy una
> vuelta y paso por delante no puedo evitar echar un vistazo a ver si
> encuentro alg&amp;uacute;n detallito mono. Colgantes, pendientes, pulseras,
> diademas....tienen de todo y siempre est&amp;aacute; bien de precio.
> Hoy quer&amp;iacute;a ense&amp;ntilde;aros mis dos &amp;uacute;ltimas
> compras: dos colgantes, uno con forma de b&amp;uacute;ho y otro con un robot
> fashion. Y lo mejor es que s&amp;oacute;lo me he gastado 5 euros.
> &amp;iquest;Qu&amp;eacute; os parecen?
> &amp;iquest;Hab&amp;eacute;is comprado alguna vez en esta tienda?
> 
> </field>
> </doc>
> 
> 
> I am giving below url
> 
> http://localhost:8983/solr/select/?q=├ętnico&indent=on&qf=name&qf=features&defType=edismax&start=0&rows=50&wt=json
> 
> waiting for reply
> 
> Thanks
> 
> 
> 
> --
> View this message in context: http://lucene.472066.n3.nabble.com/Not-able-to-search-Spanish-word-with-ascent-in-solr-tp4064404p4064651.html
> Sent from the Solr - User mailing list archive at Nabble.com. 


Mime
View raw message