Controlling Length of Text Snippets Before and After Highlighted Term

2008-10-01 Thread syoung
Hi All, I'm not sure if there is a way to do this. I have a requirement to display exactly 20 characters before and 20 characters after the highlighted term. Thanks, Susan -- View this message in context:

Re: Setting request method to post on SolrQuery causes ClassCastException

2008-09-18 Thread syoung
-binary response, e.g. wt=xml (I think that's the syntax). Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message From: syoung [EMAIL PROTECTED] To: solr-user@lucene.apache.org Sent: Wednesday, September 17, 2008 7:27:30 PM Subject: Setting

Setting request method to post on SolrQuery causes ClassCastException

2008-09-17 Thread syoung
Hi, I need to have queries over a certain length done as a post instead of a get. However, when I set the method to post, I get a ClassCastException. Here is the code: public QueryResponse query(SolrQuery solrQuery) { QueryResponse response = null; try { if