No, i didn't try to use it (on account of the fact that we dont use Solr to display the results) the only thing our Solr server returns are ID's ... so there is nothing to put highlights on
but the code doesnt look half bad :) lets hope the Client Developers pick up on it :) "Thierry Collogne" <[EMAIL PROTECTED]> 22/03/2007 11:27 Please respond to solr-user@lucene.apache.org To solr-user@lucene.apache.org cc Subject Re: Problems with special characters Thanks. Did you also try using it? On 22/03/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > nice one ! > > > > > "Thierry Collogne" <[EMAIL PROTECTED]> > 22/03/2007 09:00 > Please respond to > solr-user@lucene.apache.org > > > To > solr-user@lucene.apache.org > cc > > Subject > Re: Problems with special characters > > > > > > > Thanks. I made some modifications to SolrQuery.java to allow highlighting. > I > will post the code on > > http://issues.apache.org/jira/browse/SOLR-20 > > > > On 22/03/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> > wrote: > > > > we didnt use it, but i took a quick look : > > > > you need to implement the "hl=on" attribute in the getquerystring() > method > > of the solrqueryImpl > > > > the resultdocs allready contain highlighting, that's why you found > > processHighlighting in the Resultparser > > > > good luck ! > > m > > > > > > > > > > "Thierry Collogne" <[EMAIL PROTECTED]> > > 21/03/2007 17:04 > > Please respond to > > solr-user@lucene.apache.org > > > > > > To > > solr-user@lucene.apache.org > > cc > > > > Subject > > Re: Problems with special characters > > > > > > > > > > > > > > > Thank you. When I add the code you described, the Solr Java Client > works. > > One more question about the Solr Java Client. > > > > Does it allow the use of highlighting? I void a processHighlighting > method > > in ResultsParser.java, but I can't find a way of enabling it. > > > > Did you use highlighting? > > > > On 21/03/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> > > wrote: > > > > > > hey, > > > > > > we had the same problem with the Solr Java Client ... > > > > > > they forgot to put UTF-8 encoding on the stream ... > > > > > > i posted our fix on http://issues.apache.org/jira/browse/SOLR-20 > > > it's this post : > > > http://issues.apache.org/jira/browse/SOLR-20#action_12478810 > > > Frederic Hennequin [07/Mar/07 08:27 AM] > > > > > > grts,m > > > > > > > > > > > > > > > > > > "Bertrand Delacretaz" <[EMAIL PROTECTED]> > > > Sent by: [EMAIL PROTECTED] > > > 21/03/2007 11:19 > > > Please respond to > > > solr-user@lucene.apache.org > > > > > > > > > To > > > solr-user@lucene.apache.org > > > cc > > > > > > Subject > > > Re: Problems with special characters > > > > > > > > > > > > > > > > > > > > > On 3/21/07, Thierry Collogne <[EMAIL PROTECTED]> wrote: > > > > > > > I used the new jar file and removed -Dfile.encoding=UTF-8 from my > jar > > > call > > > > and the problem isn't there anymore... > > > > > > ok, thanks for the feedback! > > > > > > -Bertrand > > > > > > > > > > > >