at _auctionSearcher__jsp._jspService(_auctionSearcher__jsp.java:359)
Same is working if i change "SoftField.INT" to "SortField.STRING"
In index the field "CURRENT_BID" has no null value in any document
I am using lucene 2.1.
Thanks.
Bhavin pandya
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
I also faced same problem in past.
But in my case the index size was not the issue so i maintained two folder
"newindex" and "oldindex"... and swaping at every update.
-Bhavin pandya
- Original Message -
From: "021336" <[EMAIL PROTECTED]>
To:
S
com.caucho.server.TcpConnection.run(TcpConnection.java:139)
at java.lang.Thread.run(Thread.java:534)
I am using lucene 1.9 and j2sdk1.4.2_05.
Thanks.
Bhavin pandya
Hi all,
How to put limit in lucene that "dont return me any document which has score
less than 0.25"
Thanks.
Bhavin pandya
two columns ( RANGEFIELD1 and RANGEFIELD2 ) on
which i want to fire range. e.g give me all records which is between 20 and 30.
so i have created two filter and passed it to chainedfilter...
but its not working ...i dont know what i m missing is there any better way
to implement this...?
Thanks.
Bhavin pandya
s
working...
- Bhavin pandya
- Original Message -
From: "Bhavin Pandya" <[EMAIL PROTECTED]>
To:
Sent: Saturday, September 23, 2006 12:06 PM
Subject: ChainedFilter
Hi,
I am using ChainedFilter and FilteredQuery together in order to remove
RangeQuery from my code.
the
Hi,
I searched the index and i found say 1000 records but out of that 1000 records
i want to filter duplicate records based on value of one field.
is there any way except looping through whole Hit object ?
Because it wont work when number of hit is too large...
Thanks.
Bhavin pandya
Hi,
Do anybody have idea for spell checker in java.
I want to use with lucene...but which must work well for phrases also...
-Bhavin pandya
Hi jacky,
Before you open IndexWriter object you can check whether lock file exists or
not and if its available you can unlock it.
Use IndexReader.isLocked and IndexReader.unlock.
- Bhavin pandya
- Original Message -
From: "jacky" <[EMAIL PROTECTED]>
To:
Hi aslam,
Here is the method you can set for very long content.
IndexWriter's setMaxFieldLength.
- Bhavin pandya
- Original Message -
From: "aslam bari" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, September 27, 2006 2:29 PM
Subject: Can Lucene Index 50MB xml file
Hi guys,
How to fire "digital camera" when someone fire "digital cam" .. ?
Do i need to make manual list for such items and look up at search time or
theree is any better way to do this...
-Bhavin pandya
Hi guys,
How to fire "digital camera" when someone fire "digital cam" .. ?
Do i need to make manual list for such items and look up at search time or
theree is any better way to do this...
-Bhavin pandya
Hi amit,
You can give boost to query at search time...
and you can boost to perticular field at index time
- Bhavin pandya
- Original Message -
From: "Patrick Turcotte" <[EMAIL PROTECTED]>
To: ; <[EMAIL PROTECTED]>
Sent: Monday, October 30, 2006 7:38 PM
Subj
Hi guys,
I want to boost recent documentsso that it top ups...
what could be best strategy...
- Bhavin pandya
Hi guys,
How to boost recent documents ...so that it top ups...
I mean what coulld be proper strategy...
- Bhavin pandya
Hi,
In lucene, is there any way to find only unique records from a single field ..?
otherwise unnecessary i have to itereate through Hits and find out unique...
plz help..
- Bhavin pandya
index...But i
want enumeration of all the document which is relevant to "nokia"...
How to . . ?
Thanks
- Bhavin pandya
- Original Message -
From: "Erick Erickson" <[EMAIL PROTECTED]>
To: ; "Bhavin Pandya" <[EMAIL PROTECTED]>
Sent: Tuesday, November
Hi Erick,
Thanks for your help...
I have successfully implemented using custom HitCollector
- Bhavin pandya
- Original Message -
From: "Erick Erickson" <[EMAIL PROTECTED]>
To: ; "Bhavin Pandya" <[EMAIL PROTECTED]>
Sent: Tuesday, November 21, 2006 8
Hi sajid,
As you already boost data at indexing time...
You can boost query at search time...
eg. If you are firing boolean query and phrasequery...you might need to
boost phrasequery
PhraseQuery pq = new PhraseQuery();
pq.setBoost(2.0f);
Thanks.
Bhavin pandya
- Original Message
Babu,
Use "PrefixQuery" and if you are looking for phrase also then
"PhrasePrefixQuery"...
check api for usage....
- Bhavin pandya
- Original Message -
From: "Eshwaramoorthy Babu" <[EMAIL PROTECTED]>
To:
Sent: Monday, December 04, 2006 2:15 PM
Dont use " * " in term
Query query = new PrefixQuery(new Term("name","z"));
- Bhavin pandya
- Original Message -
From: Eshwaramoorthy Babu
To: java-user@lucene.apache.org ; Bhavin Pandya
Sent: Monday, December 04, 2006 3:16 PM
Subject: R
Hi qaz,
You can remove duplicates at search time by writing your own HitCollector...
- Bhavin pandya
- Original Message -
From: "qaz zaq" <[EMAIL PROTECTED]>
To:
Sent: Friday, December 15, 2006 1:01 AM
Subject: Duplicates removal in search results
How can i remov
Hi simon,
You can index the past query log for your search application and search the
index the way you want...
- Bhavin pandya
- Original Message -
From: "Simon Wistow" <[EMAIL PROTECTED]>
To: "Lucene"
Sent: Friday, December 15, 2006 3:52 AM
Subject: S
ould take that "threshold value of score"...
Do anybody have tried any other trick to achieve thissomething like
boosting a recent documents at indexing time or with some different technique
....?
Or where i am doing mistake ?
Thanks.
Bhavin pandya
ctory)"
- Bhavin pandya
- Original Message -
From: "David" <[EMAIL PROTECTED]>
To:
Sent: Monday, January 15, 2007 2:06 PM
Subject: Re: How to open IndexWriter to append document?
Thanks, I think I did not describe my problem exactly.
What I want to do is:
if th
ds
but "noofdoc" is showing zero...
Any pointer
- Bhavin pandya
term "friends" doesn't really exist in your inex - it's
frequency is zero.
Otis
- Original Message
From: Bhavin Pandya <[EMAIL PROTECTED]>
To: java-user@lucene.apache.org
Sent: Wednesday, January 17, 2007 6:16:38 AM
Subject: IndexReader.docFreq
Hi,
I am c
Hi guys,
Can i open outlook express mails ( dbx file) in java and index the mails using
lucene.. ?
Do anybody aware of such dbx reader ???
I tried one "mstos" but its not working properly...
- Bhavin pandya
Hi ashwin,
I think there is error in your import statement...
import org.apache.lucene.document.Field;
Thanks.
Bhavin pandya
- Original Message -
From: "ashwin kumar" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, February 13, 2007 11:04 AM
Subject: hi compile error
h
here you want only "world
cup" as a result
while on second field fire Phrase query as well as term query...Or only term
query depends on your need.
Thanks.
Bhavin pandya
- Original Message -
From: "Kainth, Sachin" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, March
Hello guys,
I am using lucene 1.9 and i have 3GB of index.
I know we can extract tokens from index easily but can we extract phrase ?
Regards.
Bhavin pandya
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
suggestions..
Thanks.
Bhavin pandya
- Original Message -
From: "Erick Erickson" <[EMAIL PROTECTED]>
To: ; "Bhavin Pandya" <[EMAIL PROTECTED]>
Sent: Wednesday, March 14, 2007 6:29 PM
Subject: Re: Can we extract phrase from lucene index
Your problem st
- Original Message -
From: "Maryam" <[EMAIL PROTECTED]>
To:
Sent: Thursday, March 15, 2007 7:55 AM
Subject: Indexing HTML pages and phrases
Hi,
I am wondering if we can index a phrase (not term) in
Lucene? Also, I am not usre if it can index HTML
pages? I need to have access to the
/apache/lucene/demo/html/HTMLParser.html
Thanks.
Bhavin pandya
- Original Message -
From: "Maryam" <[EMAIL PROTECTED]>
To:
Sent: Thursday, March 15, 2007 7:55 AM
Subject: Indexing HTML pages and phrases
Hi,
I am wondering if we can index a phrase (not term) in
Lucene? Als
Hi guys,
In my existing index, i have not stored my index with TermVector.YES.
is there any way to fetch all the terms from the given document id.
Thanks.
Bhavin pandya
Hi vaasu,
You can convert string query into lucene query using QueryParser class.
Please check API.
Thanks.
Bhavin pandya
- Original Message -
From: "Vaasu" <[EMAIL PROTECTED]>
To:
Sent: Friday, June 01, 2007 11:41 AM
Subject: Re: Creating parser query "by
Hi,
The score i am getting in DocCollector is raw score... which is not necessary
between 0 and 1.
Where lucene exactly calculating the final score...? Or
what if i want final score in DocCollector ??? How to ???
Regards.
Bhavin pandya
s ??? If yes please let me
know where i am wrong.. ???
Note: In this case, i can not handle duplicate records at index time...
Thanks.
Bhavin pandya
- Original Message -
From: "Erick Erickson" <[EMAIL PROTECTED]>
To: ; "Bhavin Pandya" <[EMAIL PROTECT
id)).intValue();
value = value + 1;
catcountmap.put(strcatid,new Integer(value));
}
else
catcountmap.put(strcatid,new Integer(1));
}
is there any other better way to achieve this
Thanks.
Bhavin pandya
Hi neha,
check whether lucene jar file is there in your classpath...
You can keep jar file in WEB-INF/lib directory.
Regards.
Bhavin pandya
- Original Message -
From: "Neha Modi" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, August 08, 2007 3:17 PM
Subject: error w
Hi guys,
I want to cut of records which has score below a threshold.
Without DocCollector.
is there any way ???
Thanks.
Bhavin pandya
Hi,
Standard tokenizer works pretty well for me... but i found one problem with my
usage...
I want to tokenize..."TheRing6,Proposal6,GuyandGirl6" as a three saparate
tokens.. while standard analyzer considering it as a one word because it has
one digit in token.
Expected three tokens:
1. ther
Thanks mark.
Take the comma out of: | <#P: ("_"|"-"|"/"|"."|",") > in the .jj file
Its working for me...
- Bhavin pandya
- Original Message -
From: "Mark Miller" <[EMAIL PROTECTED]>
To:
Sent: Monday, Septem
Hi,
Can anyone have any idea that what are the reason to lucene index got corrupted
?
I am running lucene 1.9 on unix machine...updating my index very
frequentlyafter few updation it says "read past eof"
I know this exception generally comes when one of the index got corrupted...but
i don
index.
Its not multi-threaded application...so I am sure only one thread at a time
accessing the index...
Thanks.
Bhavin
- Original Message -
From: "Michael McCandless" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, August 30, 2006 4:07 PM
Subject: Re: read past EOF
Bhavin Pandy
age -
From: "Michael McCandless" <[EMAIL PROTECTED]>
To:
Sent: Thursday, August 31, 2006 8:01 AM
Subject: Re: read past EOF
Bhavin Pandya wrote:
My guess is ..."One of my index is got corrupted so whenever I am trying
to search the index or optimize the index or mer
like "no space left"...but when i gone through all the log i tracked it
sucessfully.
Thanks for your help
- Bhavin pandya
- Original Message -
From: "Michael McCandless" <[EMAIL PROTECTED]>
To:
Sent: Friday, September 01, 2006 5:07 PM
Subject: R
Hi,
I am using lucene from last few months...I have question about the range query
performance...
Is there any alternative of range query or can i fire a range query on a small
set of documents so that it can be less expensive...
- Bhavin pandya
49 matches
Mail list logo