can't post.sh/post.jar

2007-06-18 Thread michael ravits
hello solrs! I get the following error on windows when trying to index an ~60mb xml file with post.jar. Also couldn't get post.sh to work - anyone successfully ran it on windows? C:\solr\example\exampledocsjava -jar post.jar flix.xml SimplePostTool: version 1.2 SimplePostTool: WARNING: Make

Re: can't post.sh/post.jar

2007-06-18 Thread Ryan McKinley
If you are dealing with such large files, you need to make sure the JVM has a big enough heap. Try starting java with -mx100m (-mx2G if you have it) java -mx100m -jar post.jar flix.xml The solr server also needs to be started with enough memory... ryan michael ravits wrote: hello

Re: can't post.sh/post.jar

2007-06-18 Thread Thierry Collogne
Michael, You can start the process with more memory assigned to your JVM Like this : java -Xms512m -Xmx512m -jar post.jar *.xml This will start the process with an initial memory of 512 MB and a maximum memory use of 512 MB. This is a little explanation about the memory parameters

Bug in DismaxRequestHanlder?

2007-06-18 Thread Thierry Collogne
Hello, I think I have uncovered a bug. When I run the following query : http://localhost:8666/solr/select/?q=test+lettreversion=2.2start=0rows=10indent=onqt=dismax I get the following exception : HTTP Status 500 - For input string: java.lang.NumberFormatException: For input string: at

Re: problems getting data into solr index

2007-06-18 Thread vanderkerkoff
Cheesr Mike, read the page, it's starting to get into my brian now. Django was giving me unicode string, so I did some encoding and decoding and now the data is getting into solr, and it's simply not passing the characters that are cuasing problems, which is great. I'm going to follow the same

[ANN] acts_as_solr v.0.9 has been released

2007-06-18 Thread Thiago Jackiw
It's with great pleasure that I announce this great milestone for the acts_as_solr plugin. Thanks to all who contributed with ideas, patches, etc. = About = This plugin adds full text search capabilities and many other nifty features from Apache's Solr to any Rails model.

Re: problems getting data into solr index

2007-06-18 Thread vanderkerkoff
I think I've resolved this. I've edited that solr.py file to optimize=True on commit and moved the commit outside of the loop http://pastie.textmate.org/71392 The data is going in, it's optmizing once but it's showing as commit = 0 in the stats page of my solr. There's no errors that I can

Re: Filtering on a 'unique key' set

2007-06-18 Thread Henrib
Thanks Yonik; Let me twist the same question another way; I'm running Solr embedded, the uniqueKey set that pre-exists may be large, is per-query (most likely not useful to cache it) and is iterable. I'd rather avoid making a string to build the 'fq', get it parsed, etc. Would it be as safe

Re: Filtering on a 'unique key' set

2007-06-18 Thread Yonik Seeley
On 6/18/07, Henrib [EMAIL PROTECTED] wrote: Thanks Yonik; Let me twist the same question another way; I'm running Solr embedded, the uniqueKey set that pre-exists may be large, is per-query (most likely not useful to cache it) and is iterable. I'd rather avoid making a string to build the 'fq',

All facet.fields for a given facet.query?

2007-06-18 Thread James Mead
Thanks for a great project. Is it possible to request all facet.fields for a given facet.query instead of having to request specific facet.fields? e.g. is there a wildcard for facet.fields? -- James. http://blog.floehopper.org

Re: All facet.fields for a given facet.query?

2007-06-18 Thread Yonik Seeley
On 6/18/07, James Mead [EMAIL PROTECTED] wrote: Is it possible to request all facet.fields for a given facet.query instead of having to request specific facet.fields? e.g. is there a wildcard for facet.fields? Not currently. Can you elaborate on the problem you are trying to solve? Are you

Re: Bug in DismaxRequestHanlder?

2007-06-18 Thread Chris Hostetter
: When I run the following query : : : http://localhost:8666/solr/select/?q=test+lettreversion=2.2start=0rows=10indent=onqt=dismax : HTTP Status 500 - For input string: java.lang.NumberFormatException: For : input string: at java.lang.NumberFormatException.forInputString( :

Re: problems getting data into solr index

2007-06-18 Thread Mike Klaas
On 18-Jun-07, at 6:27 AM, vanderkerkoff wrote: Cheesr Mike, read the page, it's starting to get into my brian now. Django was giving me unicode string, so I did some encoding and decoding and now the data is getting into solr, and it's simply not passing the characters that are cuasing

add CJKTokenizer to solr

2007-06-18 Thread Xuesong Luo
Hi, I got the error below after adding CJKTokenizer to schema.xml. I checked the constructor of CJKTokenizer, it requires a Reader parameter, I guess that's why I get this error, I searched the email archive, it seems working for other users. Does anyone know what is the problem? Thanks

Re: add CJKTokenizer to solr

2007-06-18 Thread Toru Matsuzawa
I got the error below after adding CJKTokenizer to schema.xml. I checked the constructor of CJKTokenizer, it requires a Reader parameter, I guess that's why I get this error, I searched the email archive, it seems working for other users. Does anyone know what is the problem?

Re: add CJKTokenizer to solr

2007-06-18 Thread Toru Matsuzawa
I'm sorry. Because it was not possible to append it, it sends it again. I got the error below after adding CJKTokenizer to schema.xml. I checked the constructor of CJKTokenizer, it requires a Reader parameter, I guess that's why I get this error, I searched the email archive, it seems

Faceted Search!

2007-06-18 Thread niraj tulachan
Hi all, I'm couple of days old with Solr so I'm very new to this. However, I'm trying to implemented Faceted search somewhat close to CNET shopper.com. Instead of using some items (like camera), I want to search for documents. I'm planning to use Nutch to crawl that website and use Solr

Re: Bug in DismaxRequestHanlder?

2007-06-18 Thread Thierry Collogne
Thanks! Removing the entry in the config file fixed it. Could please explain to me what the property does exactly? It is not clear to me. On 19/06/07, Chris Hostetter [EMAIL PROTECTED] wrote: : When I run the following query : : :