E michael.gr...@skidata.com | www.skidata.com
>
> -Original Message-
> From: Adrien Grand
> Sent: Thursday, March 18, 2021 12:12
> To: Lucene Users Mailing List
> Subject: Re: NullPointerException in LongComparator.setTopValue
>
> Hi Michael,
>
> At first sig
of welcoming people
SKIDATA GmbH
Lakeside B06 | 9020 Klagenfurt | Austria
P +43 6246 888-6177
E michael.gr...@skidata.com | www.skidata.com
-Original Message-
From: Adrien Grand
Sent: Thursday, March 18, 2021 12:12
To: Lucene Users Mailing List
Subject: Re: NullPointerException in
Hi Michael,
At first sight, this looks more like an Elasticsearch bug than like a
Lucene bug to me. Can you file an issue at
https://github.com/elastic/elasticsearch and share the search request than
you are running?
On Thu, Mar 18, 2021 at 11:52 AM Michael Grafl - SKIDATA <
michael.gr...@skidata
On 26/02/2013 12:29, Paul Taylor wrote:
This code worked in 3.6 but now throws nullpointer exception in 41, Im
not expecting there to be a token created, but surely it shouldn't
throw NullPointerException
Tokenizer tokenizer = new
org.apache.lucene.analysis.standard.StandardTokenizer(Version.
a next() method.
>
>> -Original Message-
>> From: Michael McCandless [mailto:luc...@mikemccandless.com]
>> Sent: Thursday, May 17, 2012 6:20 PM
>> To: java-user@lucene.apache.org
>> Subject: Re: NullPointerException using IndexReader.termDocs when there
>
Thanks, I missed that. And the API doc fails to mention it, though it is
pretty standard for a next() method.
> -Original Message-
> From: Michael McCandless [mailto:luc...@mikemccandless.com]
> Sent: Thursday, May 17, 2012 6:20 PM
> To: java-user@lucene.apache.org
&
I think you need to pay attention to what td.next() returned; I
suspect in your case it returned false which means you cannot use any
of its APIs (.doc(), .freq(), etc.) after that.
Mike McCandless
http://blog.mikemccandless.com
On Thu, May 17, 2012 at 5:52 PM, Edward W. Rouse wrote:
> Lucene 3
To quote the guys... "patches are always welcome".
Glad you found a solution
Erick
On Mon, Feb 2, 2009 at 8:35 AM, ninaS wrote:
>
> I already found another solution: I don't use a custom SortComparator.
> Another solution would be to define a default value for null.
>
> Would be nice if lucene
I already found another solution: I don't use a custom SortComparator.
Another solution would be to define a default value for null.
Would be nice if lucene in future would be able
to search by null values also if a custom SortComparator is used.
To tell you more:
public class MyComparator ext
Ah, I see. The indention and lack of braces fooled me.
You might consider making things as easy as possible when
asking people to volunteer their time trying to help you.
Then I'm unsure what's the problem, you could try showing
us the entire stack trace. Have you defined your own compare
function
That's not true: have a look at the "else"-block.
The problem is that lucene's FieldDocSortedHitQueue does only test for null
values if uses the type FieldDoc.STRING. With FieldDoc.CUSTOM lucene assumes
ci to be never null:
FieldDocSortedHitQueue 163-166:
case SortField.CUSTOM:{
Well, just glancing at the code you have no assurance that
cj != null. See below.
On Wed, Jan 28, 2009 at 4:58 AM, ninaS wrote:
>
> Hello,
>
> I am using a custom SortComparator implementation where I need to override
> a
> method in order to handle Null values:
>
> @Override
> public S
It looks like either "null" was passed to Document.addField(...), or,
a Field instance with "null" as its name was added to the document?
Mike
Noble Paul നോബിള് नोब्ळ् wrote:
Any idea on how this exception can happen?
-- Forwarded message --
From: Dinesh Gupta <[EMAIL PR
Hi,
I am getting NullPointerException while sorting on a field using
SortField.INT
same is working for SortField.STRING
Sorry guys... I found my mistake... I was using wrong Types my data has
FLOAT data I used SortField.AUTO and its working fine now.
Thanks.
Bhavin pandya
- O
nie Kolehmainen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 20, 2005 11:59 PM
To: java-user@lucene.apache.org
Subject: Re: NullPointerException in ParallelMultiSearcher
I believe the most common case is when you do a search with Sort (AUTO
feature), and one of the fields you sort by is empty.
I believe the most common case is when you do a search with Sort (AUTO
feature), and one of the fields you sort by is empty. The underlying
IndexSearcher throws a RuntimeException and "docs" (result from
searcher.search()) is never set, which results in a NullPointerException
when hits() is cal
Hi,
I have not received any feedback yet, any comments
would be greatly appreciated!
Lisheng
-Original Message-
From: Zhang, Lisheng
Sent: Thursday, December 01, 2005 12:30 PM
To: 'java-user@lucene.apache.org'
Subject: NullPointerException in ParallelMultiSearcher
Hi,
We are using lu
17 matches
Mail list logo