possible latency increase from Lucene versions 4.1 to 4.4?

2013-09-13 Thread John Wang
Has anyone experienced a latency increase between the above versions? Mainly in conjunction queries. Thanks -John

RE: variable string search

2013-09-13 Thread Allison, Timothy B.
Brian, It looks like "variable" is variable; and you'll probably want to use some combination of PhraseQuery, FuzzyQuery and maybe BooleanQuery. I've made my best guess at what the underlying types of Queries would be that would meet your use cases below. "free text" : Doc1, Doc2 :: Phrase

variable string search

2013-09-13 Thread Wasikowski, Brian [ JRDUS]
First let me start by saying: I'm sorry! I know this question has probably been asked and answered already, but I am new to this project and just trying to get up to speed. I do have a very simple example working, but not quite how I'd like. So let me explain what I'd like to do and see if

Re: Regarding Compression Tool

2013-09-13 Thread Erick Erickson
Compression is for the _stored_ data, which is not searched. Ignore the compression and insure that you index the data. The compressing/decompressing for looking at stored values is, I believe, done at a very low level that you don't need to care about at all. If you index the data in the field,

Re: Retrieving attributes of terms in lucene

2013-09-13 Thread Michael McCandless
The TypeAttribute is not saved in the index "automatically"; if you want that, you need to move it over to the payload, which it looks like you are doing, so then just use DocsAndPositionsEnum.getPayload() to get it. CharTermAttribute is the term text, ie it's the terms exposed from TermsEnum. In

Re: need Help with lucene attributes

2013-09-13 Thread Michael McCandless
Hi, I just responded on your previous thread about this ... maybe you didn't see it (you need to subscribe to java-user@lucene.apache.org to see responses). Mike McCandless http://blog.mikemccandless.com On Fri, Sep 13, 2013 at 1:12 AM, nischal reddy wrote: > Hi, > > I am confused a bit about

Re: Regarding Compression Tool

2013-09-13 Thread Ian Lea
Are you talking about CompressionTools as in http://lucene.apache.org/core/3_0_3/api/core/org/apache/lucene/document/CompressionTools.html? They've long been superseded by a completely different, low-level, transparent compression method. Anyway, use them to compress stored fields, not fields you

Regarding Compression Tool

2013-09-13 Thread Jebarlin Robertson
Hi, I am trying to store all the Field values using CompressionTool, But When I search for any content, it is not finding any results. Can you help me, how to create the Field with CompressionTool to add to the Document and how to decompress it when searching for any content in it. -- Thanks &

need Help with lucene attributes

2013-09-13 Thread nischal reddy
Hi, I am confused a bit about the lucene attributes, can someone please help me out with this, can we store all the attributes of a term in the index? i have set following attributes for a term, CharacterTermAttribute, TypeAttribute, PayloadAttribute and OffsetsAttribute, but when i examine my i