Integrating Lucene with hibernate3

2005-12-09 Thread Raul Raja Martinez
I'm trying to integrate lucene with hibernate 3 in my tapestry CMS following the interceptor method (the second one in http://www.hibernate.org/138.html) I run into two different problems: 1. Lucene's doesn't create the needed folder structure the first time and it complains that it can't fin

Re: Integrating Lucene with hibernate3

2005-12-10 Thread Raul Raja Martinez
Thanks Chris I appreciate your comments. I have succesfully fixed the first changing the parameter to true and the second error implementing three interfaces in one class and adding some lines to hibernate.cfg.xml, below is the code in case somebody is interested: hibernate.cfg.xml***

where to store the index

2005-12-10 Thread Raul Raja Martinez
What would be the best practice storing the index in a webapp. I mean in wich folder? Thanks. Raul. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: where to store the index

2005-12-10 Thread Raul Raja Martinez
don't want to copy frequently), or it will change after install, then you shouldn't keep it inside your web application at all, rather you should specify an external directory outside the web application using some sort of configuration setting, maybe specify it in your web.xml file.

Re: Reindexing

2006-02-07 Thread Raul Raja Martinez
Hi Eric, I'm in the same situation, I wouldn't normally ask something related to hibernate here but I posted something similar in the hibernate forums on Jan 16th but still haven't got any response. http://forum.hibernate.org/viewtopic.php?t=954137&highlight=lucene It is really obvious that if

Search on many indexes at once

2006-03-03 Thread Raul Raja Martinez
Is it possible to search many indexes in one query and get back the Hits ordered by relevance? Can someone point me out to some document or place that explains this? any help is appreciated. Thanks. Raul. - To unsubscribe,

Re: Search on many indexes at once

2006-03-03 Thread Raul Raja Martinez
whether a hit belong to an index or not. Any ideas? Jeff Rodenburg wrote: Raul - You'll want to look at the MultiSearcher and ParallelMultiSearcher classes for this. On 3/3/06, Raul Raja Martinez <[EMAIL PROTECTED]> wrote: Is it possible to search many indexes in one query and get ba

Re: Search on many indexes at once

2006-03-03 Thread Raul Raja Martinez
Hi Chris, thanks for the quick response, It looks like I don't have access to the searcher.subSearcher or subDoc, since I get just a Hits object. Is it possible to know the Index folder based on a hit? I'm on a SearchResults component that takes a Hits object as parameter and the search is a

Re: Search on many indexes at once

2006-03-03 Thread Raul Raja Martinez
Thanks Chris I'll provably try passing the MultiSearcher instance as a parameter so that I can use subDoc and so. It makes sense though to have a getIndex() method inside hit or document that returns some information about where that hit or document belongs to. Do you think that is reasonable to

Re: Multisearch

2006-03-06 Thread Raul Raja Martinez
Wouldn't it make sense to have a Hit know where he came from such as hit.getIndex() instead of having to invoke subSearcher or subDoc? Just a thought Erik Hatcher wrote: On Mar 6, 2006, at 10:05 AM, WATHELET Thomas wrote: I made a multi search into my Lucene index. It's work properly but I wou

Best practice for searching html

2006-03-09 Thread Raul Raja Martinez
Hi I have a lot of html indexed such as: Martínez Of course my users are gonna search for Martínez and they're not gonna get a match. Is there a common approach to solve this kind of problem in lucene, Maybe some utility class or something? Any help is appreciated. Best regards. Raul.

Re: Best practice for searching html

2006-03-09 Thread Raul Raja Martinez
gets parsed as "cá diz" it changes ";" for " ". I would like to know which symbols are not to be used in the search and how to scape them. What would be the right query to find "cádiz"? Thanks. Raul Jens Kraemer wrote: Hi! On Thu, Mar 09, 2006 at 0