Hi all,
Our company has a set of assets and we use meta-data (XML files) to
describe each asset. My job is to index and search over the meta-data
associated with the assets. The interesting aspect of my problem is that
an asset can have more than one meta-data file associated with it,
depending
Hi,
I'm trying to look at the source of the classes in
org.apache.lucene.misc. I couldn't find the package in the latest
nightly build. Where should I be looking?
Thank you,
Seeta Somagani
This might help.
http://www.catb.org/~esr/faqs/smart-questions.html
-Original Message-
From: Kainth, Sachin [mailto:[EMAIL PROTECTED]
Sent: Monday, February 26, 2007 10:17 AM
To: java-user@lucene.apache.org
Subject: Date Searches
Anybody?
>
y);
But, when I enter the query - id: [104 TO 200] content: "Marbella EspaƱa" it's
just returning me all the results while ignoring the range.
I'm getting the same result, no matter which permutations of phraseQueries,
BooleanQueries and TermQueries I'm entering.
Please ignore the ContextQueryParser... I dumped that and switched back to the
QueryParser which still gives me the same result.
Thanks.
Seeta Somagani
-Original Message-
From: Seeta Somagani [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 28, 2006 10:54 AM
To: java-user
Hoss,
Your observation about the spaces seems very likely. I hence, removed the
spaces, padded the numbers and also tried using the RangeFilter, but still I
got the same result. Upon closer inspection of my code, I found that I was
tokenizing the "id" field, which was rendering that field illeg
Hi,
I need to return the context of the terms along with the results.
The approach that I'm using is to
1) detect what kind of query it is,
2) extract the terms of the query,
3) fetch the context of the individual terms, and
4) finally join them depending on the
Thanks Yonik, there they are
-Original Message-
From: Yonik Seeley [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 28, 2006 4:59 PM
To: java-user@lucene.apache.org
Subject: Re: Inside a Boolean Query
On 2/28/06, Seeta Somagani <[EMAIL PROTECTED]> wrote:
> Is there a way t
Is there a way to get the startOffset and endOffset if I know the
termPosition in the field?
When I had this problem, I found out that the characters that I'm entering were
in UTF-8 format and java converts numbers to a cp1252 encoding. I took care of
this using xml.getBytes("UTF-8") for writing and similarly new
String(buffer,0,bytes_read,"UTF8") for reading. This solved my problem.
That would most likely be the result of your range query expanding to
more than BooleanQuery.getMaxClauseCount(); Use
BooleanQuery.setMaxClauseCount(int) to set it to a higher range
-Original Message-
From: Urvashi Gadi [mailto:[EMAIL PROTECTED]
Sent: Friday, March 03, 2006 3:37 PM
To: ja
Hi all,
Has anyone tried to compile their Lucene applications into native code?
Mine works fine in a VM but the call to search() on IndexSearcher is
crashing the application, after I compile it into native code. There is
apparently no problem in instantiating an IndexSearcher though. I tried
this
code compilation
Native code
There is a C++ port called CLucene, if that suits you more than coffee
beans...
Otis
- Original Message
From: Seeta Somagani <[EMAIL PROTECTED]>
To: java-user@lucene.apache.org
Sent: Thursday, March 23, 2006 4:47:33 PM
Subject: Native code compilati
Hi,
My simple search application is returning hits ordered by the default
relevance. But, I noticed that when for example searched for "what", the
first hit has considerably lesser occurrences of the term "what" than
those that follow. When I viewed the explanation for each document, all
the value
Hi,
I indexed some XML files using Lucene. When I open up the index using
Luke, I can see that all the fields are stored correctly in the index.
But, when I try to grab the fields from the hits, after searching, some
of the values are being returned as null. Any suggestions about what
might be
Hi Erick,
The fields that are missing are sort of primary keys and they exist in
all the documents (including those that were returned in my search
results) when I browsed through the index using Luke. And the field
names are exactly the same all in the same case. I never get the three
field value
I figured that out. I was opening up a different, but similar, index.
That was made evident when I printed out the document.
Thanks so much,
Seeta
-Original Message-
From: Erick Erickson [mailto:[EMAIL PROTECTED]
Sent: Saturday, July 01, 2006 8:56 AM
To: java-user@lucene.apache.org
Subjec
Hi all,
Is there a way to return with a hit, the part of the query that matched
in the corresponding document? I need to return combinations of
documents that together contain the query or a relatively large part of
the query.
Thanks,
Seeta
--
18 matches
Mail list logo