>On Jan 22, 2008, at 9:58 AM, Eric Lease Morgan wrote:
>
>> This was a feature I was not aware of. Does this mean I will be able
>> to write Perl programs that use the Java-based Lucene indexer?
>
>You probably know this, but you could do that now via SOLR, a
>webservices-plus-more layer that sits above Lucene and allows
>querying and updating of the index from any language via http requests.
Just to be clear: the parrot virtual machine is different from the java
virtual machine. They were merely compared because they both allow
different languages to run on top of them.
Ruby and Python, which can both (partially) be compiled to the java
virtual machine, have direct access to the java class system.
As for perl, there seems to exist a way for using java code from perl,
which can be found at <http://www.perl.com/pub/a/2003/11/07/java.html>.
The easiest way to use solr is from the webservices, as Diana pointed
out. When you need better performance, direct access to the solr library
could be an option.
>
>---
>Birkin James Diana
>Programmer, Integrated Technology Services
>Brown University Library
>[log in to unmask]
|