Hi,
I'm building a BooleanQuery that may contain a NumericRangeQuery. The
NRQ may be one of several sub-queries in the parent BooleanQuery. I
wasn't able to make the NRQ function properly by extending the
QueryParser and overriding the getRangeQuery method. So I'm building
the entire
they stay and are
rewritten to CustomSCoreQueries.
-
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de
-Original Message-
From: Murdoch, Paul [mailto:paul.b.murd...@saic.com]
Sent: Friday, April 16, 2010 8:11 PM
To: java-user
Hi,
Can a NumericRangeQuery be one of several Queries inside a complex
BooleanQuery? When I do this my NumericRangeQuery seems to
automagically be converted to a TermRangeQuery.
Thanks,
Paul
Hi,
I have a quick question. If I have an index where some text values are
indexed under the same field name, but some are ANALYZED and some are
NOT_ANALYZED, does the last value's flags change the flags for the whole
field name? For instance if I index 3 sentences under a field name as
on earth would you want to do this anyway? Perhaps if you
described your use case we could suggest a better alternative.
Best
Erick
On Wed, Mar 24, 2010 at 2:38 PM, Murdoch, Paul
paul.b.murd...@saic.comwrote:
Hi,
I have a quick question. If I have an index where some text values are
indexed
adding the fields too. The point
is to separate the Lucene stuff from whatever else you do
before trying to fix anything.
The first point of the link Ian provided has the easily-overlooked
phrase and the slowness is indeed inside Lucene...
Best
Erick
On Mon, Mar 15, 2010 at 11:02 AM, Murdoch, Paul
Hi,
I'm using Lucene 2.9.2. Currently, when creating my index, I'm calling
indexWriter.addDocument(doc) for each Document I want to index. The
Documents aren't large and I'm averaging indexing about 500 documents
every 90 seconds. I'd like to try and speed this upunless 90
seconds for
-user-return-45433-paul.b.murdoch=saic@lucene.apache.org
] On Behalf Of Mark Miller
Sent: Monday, March 15, 2010 10:48 AM
To: java-user@lucene.apache.org
Subject: Re: Batch Indexing - best practice?
On 03/15/2010 10:41 AM, Murdoch, Paul wrote:
Hi,
I'm using Lucene 2.9.2. Currently, when
your goal.
Best
Erick
On Wed, Mar 3, 2010 at 4:11 PM, Murdoch, Paul
paul.b.murd...@saic.comwrote:
If I have indexed some content that contains some words and a single
whitespace between each word as NOT_ANALYZED, is it possible to
perform
a phrase search on that a portion of that content? I'm
the info: field in a second field and
adding a clause against *that* field for your phrase case.
PerFieldAnalyzerWrapper is your friend here G.
HTH
Erick
On Thu, Mar 4, 2010 at 8:35 AM, Murdoch, Paul
paul.b.murd...@saic.comwrote:
I'm using NOT_ANALYZED because I have a list of text items to index
If I have indexed some content that contains some words and a single
whitespace between each word as NOT_ANALYZED, is it possible to perform
a phrase search on that a portion of that content? I'm indexing and
searching with the StandardAnalyzer 2.9. Using the KeywordAnalyzer
works, but I have to
Ajay,
I've posted a few times on OOM issues. Here is one thread.
http://mail-archives.apache.org/mod_mbox//lucene-java-user/200909.mbox/%
3c5b20def02611534db08854076ce825d803626...@sc1exc2.corp.emainc.com%3e
I'll try and get some more links to you from some other threads I
started for OOM
Ajay,
Here is another thread I started on the same issue.
http://stackoverflow.com/questions/1362460/why-does-lucene-cause-oom-whe
n-indexing-large-files
Paul
-Original Message-
From: java-user-return-45254-paul.b.murdoch=saic@lucene.apache.org
-
From: java-user-return-45156-paul.b.murdoch=saic@lucene.apache.org
[mailto:java-user-return-45156-paul.b.murdoch=saic@lucene.apache.org] On
Behalf Of Murdoch, Paul
Sent: Wednesday, February 24, 2010 5:11 PM
To: java-user@lucene.apache.org
Subject: RE: Phrase Search and NOT_ANALYZED
I'm using Lucene 2.9. How do I make a comma behave like a regular
character using the StandardAnalyzer? Example:
I have a field called choice and some field values:
groupA, morning
groupB, noon
groupC, night
morning
noon
night
So a query choice:night returns groupC, night and
, Murdoch, Paul
paul.b.murd...@saic.comwrote:
I'm using Lucene 2.9. How do I make a comma behave like a regular
character using the StandardAnalyzer? Example:
I have a field called choice and some field values:
groupA, morning
groupB, noon
groupC, night
morning
noon
night
So
analyzer
from, say, lowerCaseFilter and WhiteSpaceTokenizer to handle
all that automatically.
HTH
Erick
On Wed, Feb 24, 2010 at 12:10 PM, Murdoch, Paul
paul.b.murd...@saic.comwrote:
Thanks for the input. I'll give the WhitespaceAnalyzer a shot. Also,
AFAIK, Field.Index.NOT_ANALYZED means
Hi,
I'm indexing a field using the StandardAnalyzer 2.9.
field = new Field(fieldName, fieldValue, Field.Store.YES,
Field.Index.NOT_ANALYZED);
Let's say fieldName is name and fieldValue is something in the
index. When I perform the query...
name:something in the index
... I
at 3:51 PM, Murdoch, Paul
paul.b.murd...@saic.comwrote:
Hi,
I'm indexing a field using the StandardAnalyzer 2.9.
field = new Field(fieldName, fieldValue, Field.Store.YES,
Field.Index.NOT_ANALYZED);
Let's say fieldName is name and fieldValue is something in the
index. When I perform
Message-
From: Murdoch, Paul [mailto:paul.b.murd...@saic.com]
Sent: Wednesday, February 24, 2010 10:51 PM
To: java-user@lucene.apache.org
Subject: Phrase Search and NOT_ANALYZED
Hi,
I'm indexing a field using the StandardAnalyzer 2.9.
field = new Field(fieldName, fieldValue
[mailto:java-user-return-45154-paul.b.murdoch=saic@lucene.apache.org] On
Behalf Of Robert Muir
Sent: Wednesday, February 24, 2010 4:55 PM
To: java-user@lucene.apache.org
Subject: Re: Phrase Search and NOT_ANALYZED
check out KeywordAnalyzer!
On Wed, Feb 24, 2010 at 4:51 PM, Murdoch, Paul
PhraseQuery appears to be working. Thanks to all.
Paul
-Original Message-
From: java-user-return-45155-paul.b.murdoch=saic@lucene.apache.org
[mailto:java-user-return-45155-paul.b.murdoch=saic@lucene.apache.org] On
Behalf Of Murdoch, Paul
Sent: Wednesday, February 24, 2010 5
22 matches
Mail list logo