Re: about solrj giving facet=true instead of facet=on

2012-03-06 Thread Yuhan Zhang
nvm, they are identical. The problem is that I'm missing rows=0 query string that counts identical fiels are: solr/select/?q=*%3A*&rows=0&facet=true&facet.field=domain On Tue, Mar 6, 2012 at 4:26 PM, Yuhan Zhang wrote: > hi all, > > I'm using the solrj Java c

about solrj giving facet=true instead of facet=on

2012-03-06 Thread Yuhan Zhang
hi all, I'm using the solrj Java client to query solr server with facet. However, it ends up that it is giving the wrong query string, as I'm expecting: /solr/select/?q=*%3A*&facet=on&facet.field=domain it gave /solr/select/?q=*%3A*&facet=true&facet.field=domain it set facet=true instead of facet

how to ignore cases while querying with a field with type="string"?

2012-02-23 Thread Yuhan Zhang
tive. so the query pageKeyword:"The ones" and pageKeyword:"The Ones" give different results, which is not desirable in my case. Is there some setting in the query to let it ignore the cases? or I have to correct the data by keeping everything lower case. Thank you. Yuhan Zhang

Re: SOLR Install

2011-05-23 Thread Yuhan Zhang
Hi Raj, To index files using java, use solrj: http://www.google.com/search?q=solrj&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a To index files by a post request, follow this tutorial: http://www.xml.com/pub/a/2006/08/09/solr-indexing-xml-with-lucene-andrest.html Yuhan

Re: solr velocity.log setting

2011-05-16 Thread Yuhan Zhang
I solved the problem of velocity.log following this tutorial: http://kris-itproblems.blogspot.com/2010/11/velocitylog-permission-denied.html On Thu, May 12, 2011 at 6:36 PM, Yuhan Zhang wrote: > hi all, > > I'm new to solr, and trying to install it on tomcat. however, an e

solr velocity.log setting

2011-05-12 Thread Yuhan Zhang
hi all, I'm new to solr, and trying to install it on tomcat. however, an exception was reached when the page http://localhost/sorl/browse was visited: *FileNotFoundException: velocity.log (Permission denied) * looks like solr is trying to create a velocity.log file to tomcat root. so, how shoul