Re: Solr Query Language

2007-04-15 Thread Bertrand Delacretaz
On 4/16/07, Jack L <[EMAIL PROTECTED]> wrote: Is the lucene query syntax available in solr? ... The syntax depends on the request handler used, if you're using the standard one the docs are at http://wiki.apache.org/solr/StandardRequestHandler -Bertrand

Solr Query Language

2007-04-15 Thread Jack L
Is the lucene query syntax available in solr? I saw this page about lucene query syntax: http://lucene.apache.org/java/docs/queryparsersyntax.html I tried "width:[0 TO 500]" and got an exception: java.lang.NumberFormatException: For input string: "TO500" at java.lang.NumberFormatExceptio

finalizer() in SolrCore (was: Commits and Container Shutdown)

2007-04-15 Thread Bertrand Delacretaz
On 4/16/07, Erik Hatcher <[EMAIL PROTECTED]> wrote: ...Further details on this: SolrCore has a finalizer() method that closes the update handler. I'm not clear on finalizer() though. How/ when is that invoked? I know about Object.finalize(), but not finalizer()... Looking at the code, it s

Re[2]: Python utilities for solr?

2007-04-15 Thread Jack L
Mike and Erik, thanks for the reply. Excellent. I'll try it out. > On 4/15/07, Jack L <[EMAIL PROTECTED]> wrote: >> Doing queries is so easy with Python, thanks to solr's >> Python format support. Is there any Python utility classes for >> posting documents? Which I think, is essentially a Python

Re: Python utilities for solr?

2007-04-15 Thread rubdabadub
There is also this .. I discovered it when i was trying to find some djngo - solr working example.. http://code.google.com/p/fac-back-opac/ Cheers On 4/16/07, Mike Klaas <[EMAIL PROTECTED]> wrote: On 4/15/07, Jack L <[EMAIL PROTECTED]> wrote: > Doing queries is so easy with Python, thanks to s

Re: Commits and Container Shutdown

2007-04-15 Thread Erik Hatcher
On Apr 15, 2007, at 1:36 PM, Grant Ingersoll wrote: I am just confirming that shutting down the container causes a commit when using the DirectUpdateHandler2, correct? For example, if I index some documents but don't commit them and then shutdown the servlet container, upon startup those d

Re: [Solr Wiki] Update of "SolrSecurity" by ErikHatcher

2007-04-15 Thread Erik Hatcher
I added a wiki page to flesh out common security-related concerns regarding Solr. I was recently asked by a client about Solr's security, specifically about cross-site scripting vulnerabilities. Intuitively I know there is little or no room for concern given that Solr is firewalled off in

Re: Python utilities for solr?

2007-04-15 Thread Mike Klaas
On 4/15/07, Jack L <[EMAIL PROTECTED]> wrote: Doing queries is so easy with Python, thanks to solr's Python format support. Is there any Python utility classes for posting documents? Which I think, is essentially a Python class to generate XML documents (before JSON support is available) from Pyt

Re: Python utilities for solr?

2007-04-15 Thread Erik Hatcher
There is a solr.py in the Solr clients directory: http://svn.apache.org/repos/asf/lucene/solr/trunk/client/python/solr.py It's got some utility methods for generating 's. Erik On Apr 15, 2007, at 6:47 PM, Jack L wrote: Doing queries is so easy with Python, thanks to solr's P

Python utilities for solr?

2007-04-15 Thread Jack L
Doing queries is so easy with Python, thanks to solr's Python format support. Is there any Python utility classes for posting documents? Which I think, is essentially a Python class to generate XML documents (before JSON support is available) from Python objects. Then again, JSON for posting would

Commits and Container Shutdown

2007-04-15 Thread Grant Ingersoll
Hi, I am just confirming that shutting down the container causes a commit when using the DirectUpdateHandler2, correct? For example, if I index some documents but don't commit them and then shutdown the servlet container, upon startup those documents will be in the index as if they were