Querying the values of a field

2005-07-26 Thread JM Tinghir
Hi, I have an index with about 20 different fields. I'd like to query my index to get the list of all different terms for a given field. Is it something possible in a simple way? I mean simpler than getting every terms of the index and then keeping only those which match the given field. Thanks i

Re: Weird Problem with Lucene

2005-06-22 Thread JM Tinghir
Hi, Actually I have the same problem. Queries are working on a few fields but not all of them, although the index is ok (checked it with luke). But I have no idea to solve that... Jean-Marie Tinghir 2005/6/22, Urs Eichmann <[EMAIL PROTECTED]>: > My index consists of about 26 fields. I have a

Re: Using the Searcher.java sample in a web application

2005-06-21 Thread JM Tinghir
Hi, > Just looking for pointers. I'm new to java and lucene. I guess you're new to J2EE too... You should study servlets and jsps a bit. You'll have to call Searcher.java in your servlet, unless you use frameworks like struts then it'll be in your business code. Good luck! Jean-Marie Tinghir

Re: Performance with multi index

2005-06-17 Thread JM Tinghir
> do you keep your indexWriter open all the time during process? I think that might be the real cause. And as it reopen it all the time, the mergeFactor isn't used at all I guess... I'll try to modify that. Thanks. Jean-Marie Tinghir -

Re: Performance with multi index

2005-06-16 Thread JM Tinghir
> Well, it just took 145 minutes to index 2670 files (450 MB) in one > index (29 MB). > It only took 33 minutes when I did it into ~10 indexes (global size of 32 MB). Forgot to add, that it does not only indexes files, it also creates XML documents. So don't worry if takes 30 minutes to index 450

Re: Performance with multi index

2005-06-16 Thread JM Tinghir
> Could you qualify a bit more about what is slow? Well, it just took 145 minutes to index 2670 files (450 MB) in one index (29 MB). It only took 33 minutes when I did it into ~10 indexes (global size of 32 MB). > Perhaps you need to optimize the index? Perhaps, never tried it... JM --

Performance with multi index

2005-06-16 Thread JM Tinghir
Hi, I have a 25 Mb index and was wondering if it would be better to divide it in about 10 indexes and search in it with MutliSearcher. Would searching be faster this way? The indexing would be faster I guess, as it is getting slower and slower while indexes get bigger. But searching? Jean-Marie

Re: Problem on query syntax

2005-05-20 Thread JM Tinghir
> : When I search "hotliner:such" I get a 0 result. ("such" gets the same) > : But when I search "hotliner:such*", I get the 277 expected results! > > (or treating it as a stop word) You're right! Unfortunately someone's name in my company is 'such' and you made me realize that it's also a common

Problem on query syntax

2005-05-19 Thread JM Tinghir
Hi Lucene community, I'm facing a strange problem, that you'll probably understand as I'm only a newbie to Lucene. When I search "hotliner:such" I get a 0 result. ("such" gets the same) But when I search "hotliner:such*", I get the 277 expected results! Why is the first query not working? Thanks