my rangequery problem

2012-05-29 Thread S Eslamian
Hi all. I'm searching numericRangeQuery in my indexes. (i.e. field : [10 TO 20]) In some ranges when I rewrite the query, I receive something wrong in the answer. something like this : ConstantSocre(field : ` When I expand the range, then everything is OK. I debug the code and this wrong answer

Re: Directory, IndexInput and IndexOutput concurrency

2012-05-29 Thread Uwe Schindler
In addition, IndexInput.clone must create abother view on the same file, useable from another thread. -- Uwe Schindler H.-H.-Meier-Allee 63, 28213 Bremen http://www.thetaphi.de Michael McCandless schrieb: Multiple threads are free to interact with Directory. But it will be only one thread at

Deferring merging of index segments

2012-05-29 Thread Vitaly Funstein
Hello, I am trying to optimize the process of "warming up" an index prior to using the search subsystem, i.e. it is guaranteed that no other writes or searches can take place in parallel with with the warmup. To that end, I have been toying with the idea of turning off segment merging altogether u

Index pruning

2012-05-29 Thread Greg Bowyer
Hi all I am playing about with the index pruning contrib package, I want to see if it will make a faster and slightly smaller index for me. However when I try either Carmel or RIDF methods it just ends up deleting all my postings for the two fields of interest. My command line for RIDF is as

Re: Directory, IndexInput and IndexOutput concurrency

2012-05-29 Thread Dhruv
Thank you Mike. This could be documented in Lucene's Directory and stream classes for others benefit too. On Tue, May 29, 2012 at 3:54 PM, Michael McCandless < luc...@mikemccandless.com> wrote: > Multiple threads are free to interact with Directory. > > But it will be only one thread at a time in

Re: Directory, IndexInput and IndexOutput concurrency

2012-05-29 Thread Michael McCandless
Multiple threads are free to interact with Directory. But it will be only one thread at a time interacting with a single instance of IndexInput and IndexOutput. Mike McCandless http://blog.mikemccandless.com On Tue, May 29, 2012 at 6:39 PM, Dhruv wrote: > I am trying to implement an in-memory

Directory, IndexInput and IndexOutput concurrency

2012-05-29 Thread Dhruv
I am trying to implement an in-memory version of the Directory, IndexInput and IndexOutput classes, similar to RAMDirectory. Can someone please point out if there are any concurrency and thread safety requirements from these classes? Do the users of these classes implement client side locking or u

Re: Updating a Field in Lucene 3.6*Matching abbreviations to full field names

2012-05-29 Thread me89
i have to make multiple such fields..and am iterating over them..so i guess i have to create all fields together in a block first...like "affiliations"..etc..how do i map the abbreviations to the full names_ -- View this message in context: http://lucene.472066.n3.nabble.com/Updating-a-Field-in-L

Updating a Field in Lucene 3.6*Matching abbreviations to full field names

2012-05-29 Thread me89
Hello! I have recently started working with Lucene 3.6. I am creating an index with field names like,"Authors" for example..now if my input text file contains a field called"AU" i want its contents to be indexed in"Authors".Should I first identify these abbreviations and then create fields_ or can

Re: ToParentBlockJoinQuery$BlockJoinWeight cannot explain match on parent document

2012-05-29 Thread Christoph Kaser
Hi Martijn, thank you for your response. I created the following issue: https://issues.apache.org/jira/browse/LUCENE-4082 Christoph Am 25.05.2012 16:25, schrieb Martijn v Groningen: Hi Christoph, You can open an issue for this. I think we can use the child score as an explanation of why a pa