DbDirectory and Berkeley DB Java Edition...

2005-02-06 Thread Kevin A. Burton
I'm reading the Lucene in Action book right nowand on page 309 they talk about using the DbDirectory which berkeley DB for maintaining your index. Anyone ever consider a port to Berkeley DB Java Edition? The only downside would be the license (I think its GPL) but it could really free up the tim

Re: Disk space used by optimize

2005-02-06 Thread Morus Walter
Bernhard Messer writes: > > >However, three times the space sounds a bit too much, or I make a > >mistake in the book. :) > > > > > there already was a discussion about disk usage during index optimize. > Please have a look to the developers list at: > http://mail-archives.apache.org/eyebrows

Re: Starts With x and Ends With x Queries

2005-02-06 Thread sergiu gordea
Hi Erick, "In order to prevent extremely slow WildcardQueries, a Wildcard term must not start with one of the wildcards * or ?." I don't read that as saying you cannot use an initial wildcard character, but rather as if you use a leading wildcard character you risk performance issues. I'm go

Shui Cheung Yip/JerseyCity/iNautix is out of the office.

2005-02-06 Thread syip
I will be out of the office starting 02/04/2005 and will not return until 02/14/2005. I will respond to your message when I return. For CashEdge issues, please contact Aravind Ravi Subramania or Subramaniam Sundaram, For other issue, please contact Dave Wong. Thank you. ---

Re: Document numbers and ids

2005-02-06 Thread Simeon Koptelov
On Sunday 06 February 2005 20:00, Chris Hostetter wrote: > : > care about their content. I only want to know a particular numeric > : > field from > : > document (id of document's category). > : > I also need to know how many docs in category were found, so I can't > : > index > : > : You should ex

Re: PHP-Lucene Integration

2005-02-06 Thread [EMAIL PROTECTED]
Hi Owen I am using Lucene with PHP, though in previous replies it was suggested to run Tomcat on an alternate port, but for me that was not a solution. I did not want to run too many tasks or too many servers for various reasons (maintenance, security etc) and also needed to have control over PH

Highlighter: new support for encoding

2005-02-06 Thread markharw00d
Nicko Cadell was good enough to point out the issues involved with generating XHTML compliant markup with the highlighter and provided a patch to fix it. The main code has now been updated in the new SVN repository here: http://svn.apache.org/repos/asf/lucene/java/trunk/contrib/highlighter/ To

Re: Starts With x and Ends With x Queries

2005-02-06 Thread Chris Hostetter
: book Managing Gigabytes, making "*string*" queries drastically more : efficient for searching (though also impacting index size). Take the : term "cat". It would be indexed with all rotated variations with an : end of word marker added: ... : The query for "*at*" would be preprocessed and

Re: PHP-Lucene Integration

2005-02-06 Thread Andrzej Bialecki
Erik Hatcher wrote: Eventually you can just do PHP within the servlet container http://www.jcp.org/en/jsr/detail?id=223 and have your cake and eat it too! :) An intriguing thought occured to me: with the recent work on PyLucene, it should be quite possible to generate a SWIG wrapper for PHP a

Re: Document numbers and ids

2005-02-06 Thread Chris Hostetter
: > care about their content. I only want to know a particular numeric : > field from : > document (id of document's category). : > I also need to know how many docs in category were found, so I can't : > index : You should explore the use of IndexReader. Index your documents with : category id f

Re: PHP-Lucene Integration

2005-02-06 Thread Erik Hatcher
Eventually you can just do PHP within the servlet container http://www.jcp.org/en/jsr/detail?id=223 and have your cake and eat it too! :) Erik On Feb 6, 2005, at 12:10 PM, Owen Densmore wrote: I'm building a lucene project for a client who uses php for their dynamic web pages. It

Re: PHP-Lucene Integration

2005-02-06 Thread Kelvin Tan
How about XML-RPC/SOAP, or REST? For REST, just have a servlet listening for HTTP Gets and respond with XML that your PHP app can parse (for searching). For indexing, let's say you want to index an uploaded file, construct a URL with the fields and field values, and also pass the location of th

Re: PHP-Lucene Integration

2005-02-06 Thread Maurits van Wijland
Hi Owen, This can easily be done! Simply install tomcat on port 8080 and create a jk2 or proxy that points to tomcat. then all requests for jsps can be send to tomcat. The search engine can even be placed on a separate server. If you give me some details on your server, i will create a proxy sc

PHP-Lucene Integration

2005-02-06 Thread Owen Densmore
I'm building a lucene project for a client who uses php for their dynamic web pages. It would be possible to add servlets to their environment easily enough (they use apache) but I'd like to have minimal impact on their IT group. There appears to be a php java extension that lets php call back

Re: Starts With x and Ends With x Queries

2005-02-06 Thread Erik Hatcher
On Feb 4, 2005, at 9:37 PM, Chris Hostetter wrote: If you want to start doing suffix queries (ie: all names ending with "s", or all names ending with "Smith") one approach would be to use WildcarQuery, which as Erik mentioned, will allow you to use a quey Term that starts with a "*". ie... Que