this is the way im indexing the file:
FileInputStream fr = new FileInputStream(file);
BufferedInputStream bfr = new BufferedInputStream(fr);
DataInputStream dbfr = new DataInputStream(bfr);
while(dbfr.available()!=0){
String line = dbfr.readLine();
if(line!=null){
so how can i solve this and reduce time?
On Mon, Jun 24, 2013 at 2:21 PM, Roberto Ragusa wrote:
> On 06/24/2013 08:38 AM, neeraj shah wrote:
> > My hit size is 127674 and even if i comment the remedy fetching code (
> the
> > second search in for loop) still its taking very long time.
> > This i
On 06/24/2013 08:38 AM, neeraj shah wrote:
> My hit size is 127674 and even if i comment the remedy fetching code ( the
> second search in for loop) still its taking very long time.
> This is the code which im using without Remedy fetching code :
>
>
>for(int k=0;k Docume
My hit size is 127674 and even if i comment the remedy fetching code ( the
second search in for loop) still its taking very long time.
This is the code which im using without Remedy fetching code :
StandardAnalyzer analyzer = new
StandardAnalyzer(Version.LUCENE_36);
IndexR
its 137MB only.
my code id is:
StandardAnalyzer analyzer = new
StandardAnalyzer(Version.LUCENE_36);
IndexReader reader = IndexReader.open(FSDirectory.open(new
File("C:/hierarchy/idname/index")));
IndexSearcher searcher = new IndexSearcher(reader);
Q
On 06/22/2013 11:38 AM, neeraj shah wrote:
> i have already tried this. I am fetching the info of "ABC" and then passing
> then again in searcher with new Query then adding the required result.
> but this method taking very very long time (more than 100 secs). my data
> file is very big size would
://www.thetaphi.de
eMail: u...@thetaphi.de
> -Original Message-
> From: neeraj shah [mailto:neerajsha...@gmail.com]
> Sent: Saturday, June 22, 2013 11:39 AM
> To: java-user@lucene.apache.org
> Subject: Re: how to fetch qyery feild + other feild related results in
> Luc
i have already tried this. I am fetching the info of "ABC" and then passing
then again in searcher with new Query then adding the required result.
but this method taking very very long time (more than 100 secs). my data
file is very big size would be around 137MB.
So was asking is there another way
On 06/22/2013 08:07 AM, neeraj shah wrote:
> Hello,
>
> Im using Lucene 3.6.2. and my file, which i indexed ,is something like
> this :
>
> FIELD-1 FIELD-2 FIELD-3 FIELD-4
> DOC1: A ABC
> DOC2: B ABC
> DOC3: C ABC
> DOC4: D ABC
> DOC5: E WWW AB