Hi all. I'm very new to lucene. All I have done is read some docs about how
it works, which brings to the question:
How easy is to add new fields to the documents in the index?
Suppose that today I can search for book title and decide that including the
author in the search would be a good idea.
My second question is: can I join the results os multiple indexes using a
common field?
If I have user info in 2 different sources (index)and want to search for
fields on both, but the search should
join the resulting records using a common field (user id for example). Is
this possible?
--
Leandr
Hi all.
I'm writting a wrapper component around Lucene (using Avalon) and I'd like
to know the common api usage.
How should I bootstrap the index? Should I create the IndexSearcher when I
initialize the component?
For how long should I let the IndexWriter open? For one document: should I
create
Hi all. I'm writing a avalon component that wrapps lucene. My problem is
that I can't start the component using FSDirectory unless the index files
are already in place (segment, etc) , or I set the rewrite flag to true.
I my case, I'd like to create the index file structure only the first time I
Hi all. I can remove a documents from the index using IndexReader.delete
(Term) but the search still returns this document.
What am I doing wrong?
--
Leandro Rodrigo Saad Cruz
CTO - InterBusiness Technologies
db.apache.org/ojb
guara-framework.sf.net
xingu.sf.net
Hi Eduardo. I'm using the StandardAnalyser and I can search for words with
accents. In my case "saúde"
--
Leandro Rodrigo Saad Cruz
CTO - InterBusiness Technologies
db.apache.org/ojb
guara-framework.sf.net
xingu.sf.net
On 8/1/06, Eduardo S. Cordeiro <[EMAIL PROTECTED]> wrote:
Yes...here's how
dex created with BrazilianAnalyzer? Because otherwise
you wouldn't have portuguese stopwords eliminated, like "e", "ou",
etc.
2006/8/2, Leandro Saad <[EMAIL PROTECTED]>:
> Hi Eduardo. I'm using the StandardAnalyser and I can search for words
with
> acce
Hi all.
How do I remove lucene locks (startup) if there are multiple applications
using lucene on the same box and all use the same lock dir?
--
Leandro Rodrigo Saad Cruz
CTO - InterBusiness Technologies
db.apache.org/ojb
guara-framework.sf.net
xingu.sf.net
Yeah. But how do I know if a lock file is related to an index or app? I
don't want to remove a lock file that another app is using
:: Leandro
On 8/8/06, Michael McCandless <[EMAIL PROTECTED]> wrote:
> How do I remove lucene locks (startup) if there are multiple
applications
> using lucene on
I'm trying to use them, and I maybe be wrong, but I can't unlock the dir
before I create the Directory right? Do you know if the lock is created when
I create the Directory?
:: Leandro
On 8/8/06, Michael Busch <[EMAIL PROTECTED]> wrote:
> Yeah. But how do I know if a lock file is related to a
directory
Hope that helps...
regards Simon
On 8/8/06, Leandro Saad <[EMAIL PROTECTED]> wrote:
> Yeah. But how do I know if a lock file is related to an index or app? I
> don't want to remove a lock file that another app is using
>
> :: Leandro
>
> On 8/8/06,
Hi all,
I have a field called "location" on my index. For example, this string: "A
B" "A C" D was stored on my index
When I search for "location: ", these are the results that I'd like to
retrieve:
1) location: D -- 1 hit
2) location: A -- no hits
3) location: "A B" -- 1 hit
4) location: "A C" -
Hi all,
I have a field called "location" on my index. For example, this string: "A
B" "A C" D was stored on my index
When I search for "location: ", these are the results that I'd like to
retrieve:
1) location: D -- 1 hit
2) location: A -- no hits
3) location: "A B" -- 1 hit
4) location: "A C" -
13 matches
Mail list logo