Re: Lucene QueryParser and Analyzer

2010-05-11 Thread Robert Muir
FYI: I opened a jira issue for this bug here: https://issues.apache.org/jira/browse/LUCENE-2458 On Thu, Apr 29, 2010 at 7:01 PM, Wei Ho wrote: > I think I've figured out what the problem is. Given the inputs, > > Input1: C1C2,C3C4,C5C6,C7,C8C9C10 > Input2: C1C2  C3C4  C5C6  C7  C8C9C10 > > Input1

Re: best way to interest two queries?

2010-05-11 Thread Paul Libbrecht
Very interesting, finding the field name is enough for me. What's cute is to wrap in this Flag-queries because, indeed, I don't want to know the details of each matched query just some of them. two terminology questions: - is multiplier in the mail mentioned there the same as boost? - I inte

Re: is there some dangerous bug in lucene?

2010-05-11 Thread Chris Lu
If you are using field cache for field A, and updating field A, isn't it normal that the field A is not updated? Field cache is keyed via index reader, it won't be efficient to reload the field cache for each updateDocument(). -- Chris Lu - Instant Scalable Full-Text S

Re: Location of HTMLStripCharFilter

2010-05-11 Thread Spencer Tickner
Sorry everyone,, found it in modules. Please disregard. Thanks, Spence On Tue, May 11, 2010 at 10:42 AM, Spencer Tickner wrote: > Hi Everyone, and thanks in advance for the help. I downloaded the > latest 4.0 dev release of the lucene/solr trunk. Everything seems to > be fine except I can't for

Location of HTMLStripCharFilter

2010-05-11 Thread Spencer Tickner
Hi Everyone, and thanks in advance for the help. I downloaded the latest 4.0 dev release of the lucene/solr trunk. Everything seems to be fine except I can't for the life of me find the HTMLStripCharFilter Class. I've been poking around for awhile and I figure I'm missing something incredibly obvio

Re: is there some dangerous bug in lucene?

2010-05-11 Thread Erick Erickson
Is it possible that you're looking at the deleted document? When you update a document you're actually deleting the old one and adding a new one If not, I second Ian's comment that a self-contained test case will be very useful. HTH Erick On Tue, May 11, 2010 at 11:25 AM, Ian Lea wrote: >

Re: is there some dangerous bug in lucene?

2010-05-11 Thread Ian Lea
> is there some dangerous bug in lucene? Highly unlikely. Much more likely that there is a bug in your code, perhaps somewhere in the confusing (to me, reading your uncompilable code snippet) cross linking of values between fields A and B. Or you've got duplicate docs in the index. Or something

is there some dangerous bug in lucene?

2010-05-11 Thread luocanrao
I have a problem. I found the store field in a document is not consistent. Here are some small case about my program. Field A = new Filed(Store.Yes,FieldAValue); FieldBValue.add(FieldAValue);// FiledBValue is a container that contains other store field value, FiledBValue is like a

RE: FieldCache and 2.9

2010-05-11 Thread Carl Austin
Ah, ok, thanks for that. I had hoped that the field cache would do this for me, by going through the subreaders itself. Is this likely to be done in a future release? I may have to implement some wrapper that does this anyway, and if so, can submit it as contrib if that would be useful? Thanks

Re: FieldCache and 2.9

2010-05-11 Thread Yonik Seeley
You are requesting the FieldCache entry from the top-level reader and hence a whole new FieldCache entry must be created. Lucene 2.9 sorting requests FieldCache entries at the segment level and hence reuses entries for those segments that haven't changed. -Yonik Apache Lucene Eurocon 2010 18-21 Ma

FieldCache and 2.9

2010-05-11 Thread Carl Austin
Hi, I have been using the FieldCache in lucene version 2.9 compared to that in 2.4. The load time is massively decreased, however I am not seeing any benefit in getting a field cache after re-open of an index reader when I have only added a few extra documents. A small test class is included below

spatial searches

2010-05-11 Thread Klaus Malorny
Hi all, I hope someone can enlighten me. I am trying to figure out how spatial searches are to be implemented with Lucene. From walking through mailing lists and various web pages, looking at the JavaDoc and source code, I understand how the tiers work and how the search is limited by a speci

External ValueSource and value mapping

2010-05-11 Thread gabriele renzi
Hi everyone, I am trying to implement something akin to Solr's ExternalFileSource backed by a Map object with plain lucene (as we are working on top of an existing solution) and while it is easy to write a ValueSource that does it I have a problem with the mapping phase. Basically I have tried t

Re: best way to interest two queries?

2010-05-11 Thread mark harwood
See https://issues.apache.org/jira/browse/LUCENE-1999 - Original Message From: Paul Libbrecht To: java-user@lucene.apache.org Sent: Tue, 11 May, 2010 10:52:14 Subject: Re: best way to interest two queries? Dear lucene experts, Let me try to make this precise since there was not answe

Re: Class_for_HighFrequencyTerms

2010-05-11 Thread adam . saltiel
Sounds like your path is messed up and you're not using maven correctly. Start with the jar version that contains the class you require and use maven pom to correctly resolve dependencies Adam Sent using BlackBerry® from Orange -Original Message- From: manjula wijewickrema Date: Tue, 1

Re: best way to interest two queries?

2010-05-11 Thread Paul Libbrecht
Dear lucene experts, Let me try to make this precise since there was not answer. I have a query that's, about, a & b & c and I have a good search result. Now I want to know: a) for the first page, which matches are matches for a, b, or c b) for the remaining results (for the "tail"), are ther

Re: Class_for_HighFrequencyTerms

2010-05-11 Thread manjula wijewickrema
Dear Erick, I lokked for it and even added IndexReader.java and TermFreqVector.java from http://www.jarvana.com/jarvana/search?search_type=class&java_class=org.apache.lucene.index.IndexReader . But after adding the system indicated a lot of errors in the source code IndexReader.java (eg: Directory