Re: multiple Tokens in a Tokengroup not matching

2007-09-15 Thread Erick Erickson
I really can't tell much from your e-mail. What I'd recommend is that you get a copy of Luke and examine your index (including your query and it's results). Also, try query.toString() to see what the actual query submitted to Lucene is, that may give you some clues as to what's going on. If the re

Re: Mixing SpanQuery and BooleanQuery

2007-09-15 Thread Mark Miller
Yeah, a SpanAndQuery could easily be a SpanNearQuery if a huge distance was allowed. I do wonder how the scoring might be different based on the distance of the match though... Erick Erickson wrote: Isn't a SpanAndQuery the same as a SpanNearQuery? Perhaps with "interesting" slops.. Erick

Re: Java Heap Space -Out Of Memory Error

2007-09-15 Thread Sebastin
HI testn, could you trigger me out the You can simply create a wrapper that return MultiReader which you can cache for a while and close the oldest index once the date rolls.,this point in detail.i am not able to get that. testn wrote: > > If you know that there are only 15 days

Re: Java Heap Space -Out Of Memory Error

2007-09-15 Thread testn
If you know that there are only 15 days of indexes you need to search on, you just need to open only the latest 15 indexes at a time right? You can simply create a wrapper that return MultiReader which you can cache for a while and close the oldest index once the date rolls. Sebastin wrote: > >

Re: Lucene indexes and relationship

2007-09-15 Thread Grant Ingersoll
Sounds like faceting, I think. Have you looked at Solr? -Grant On Sep 15, 2007, at 1:15 AM, Mohammad Norouzi wrote: Hello, In our application, we have many categories (indexes) in which different kind of information have been indexed. we provided a facility for our users to opt their cate