: 1-301-306-8201
izavo...@caci.com
www.caci.com
-Original Message-
From: Ian Lea [mailto:ian@gmail.com]
Sent: Friday, July 13, 2012 1:06 PM
To: java-user@lucene.apache.org
Subject: Re: can't find queries when they are one per line in target file
It's hard to tell from your d
Field.Index.ANALYZED,
> Field.TermVector.WITH_POSITIONS_OFFSETS));
> writer.addDocument(doc);
> ...
>
> Let me know if more details are needed.
>
> Thanks,
>
> Ilya
>
> -Original Message-----
> From: Uwe Schindler [mailto:u...@thetaphi.de]
&g
-Original Message-
From: Uwe Schindler [mailto:u...@thetaphi.de]
Sent: Friday, July 13, 2012 12:44 PM
To: java-user@lucene.apache.org
Subject: RE: can't find queries when they are one per line in target file
What do you mean with "files"? Without a complete description what y
zavo...@caci.com]
> Sent: Friday, July 13, 2012 6:39 PM
> To: java-user@lucene.apache.org
> Subject: RE: can't find queries when they are one per line in target file
>
>
>
> But why then does it find all the querries in the 1st file? I use exactly
the same
> code.
>
But why then does it find all the querries in the 1st file? I use exactly the
same code.
IZ
-Original Message-
From: Uwe Schindler [mailto:u...@thetaphi.de]
Sent: Friday, July 13, 2012 12:32 PM
To: java-user@lucene.apache.org
Subject: RE: can't find queries when they are on
> String qStr = "Query1"; // or "Query2" or ...
> QueryParser parser = ...;
> IndexSearcher searcher = ...;
> Query query = parser.parse(qStr);
> TopDocs results = searcher.search(query, Integer.MAX_VALUE); ScoreDoc[]
hits
> = results.scoreDocs;
>
> returned no hits for the 2nd test.
Maybe becaus
Hi,
I am using 3.4.0 and just discovered a weird issue. I have a set of simple
English one-word queries and two target files that I want to search. One has
all these queries in one line, i.e. something like this
Query1 Query2 Query3 Query4
The other has them one per line, i.e.
Query1
Query2
Q