Re: How to return filtered tokens as query results?

2010-02-05 Thread Gregg Horan
On Fri, Feb 5, 2010 at 2:31 AM, Ahmet Arslan iori...@yahoo.com wrote:


  Is there a way to return Solr's
  analyzed/filtered tokens from a query,
  rather than the original indexed data?  (Ideally at a
  fairly high level like
  solrj).

 TermVectorComponent [1] can do that.

 [1]http://wiki.apache.org/solr/TermVectorComponent


Excellent!  The wiki seems to imply that if particular stats (tv.df,
tv.tf_idf in particular) aren't requested, then you don't incur the overhead
of them being calculated (ie. it's not a all or nothing request if
tv=true).  I really don't need any of that info... just the terms.  Any idea
if that's actually the case?

Thanks for the response


How to return filtered tokens as query results?

2010-02-04 Thread Gregg Horan
Is there a way to return Solr's analyzed/filtered tokens from a query,
rather than the original indexed data?  (Ideally at a fairly high level like
solrj).

Thanks


Re: solrj query size limit?

2009-11-03 Thread Gregg Horan

That was it.  Didn't see that optional parameter - the POST works.

Thanks!


On Nov 3, 2009, at 1:57 AM, Avlesh Singh wrote:

Did you hit the limit for maximum number of characters in a GET  
request?


Cheers
Avlesh

On Tue, Nov 3, 2009 at 9:36 AM, Gregg Horan greggho...@gmail.com  
wrote:


I'm constructing a query using solrj that has a fairly large number  
of 'OR'
clauses.  I'm just adding it as a big string to setQuery(), in the  
format

accountId:(this OR that OR yada).

This works all day long with 300 values.  When I push it up to  
350-400
values, I get a Bad Request SolrServerException.  It appears to  
just be a
client error - nothing reaching the server logs.  Very  
repeatable... dial

it
back down and it goes through again fine.

The total string length of the query (including a handful of other  
faceting
entries) is about 9500chars.   I do have the maxBooleanClauses  
jacked up to

2048.  Using javabin.  1.4-dev.

Are there any other options or settings I might be overlooking?

-Gregg