Hi All,
I want to use lucene1.9.1 in Eclipse IDE in windows platform, but i can't
create new project with "Java Project from Existing Ant Buildfile" in "New
Project" window.
when i use "build.xml" in top level of lucene source folder, following error is
occur : "specified buildfile does not cont
Hello Andreas,
This may also be a good reference for you:
http://lucene.apache.org/java/docs/fileformats.html
--Mike
On 5/16/06, Andreas Harth <[EMAIL PROTECTED]> wrote:
Hello,
I'd like to learn a bit more about the index organization of
Lucene (ideally without sifting through source code).
FunctionQuery could also be used for this.
http://incubator.apache.org/solr/docs/api/org/apache/solr/search/function/FunctionQuery.html
-Yonik
http://incubator.apache.org/solr Solr, the open-source Lucene search server
On 5/17/06, Peter Keegan <[EMAIL PROTECTED]> wrote:
Suppose I have a custom
Suppose I have a custom sorting 'DocScoreComparator' for computing distances
on each search hit from a specified coordinate (similar to the
DistanceComparatorSource example in LIA). Assume that the 'specified
coordinate' is different for each query. This means a new custom comparator
must be creat
I see you already got 2 answers. However, judging from your source, it looks
like you are really using the .Net port of Lucene, so a better place to ask
would be the lucene.net mailing list.
Otis
- Original Message
From: Marcus Falck <[EMAIL PROTECTED]>
To: java-user@lucene.apache.org
On Mittwoch 17 Mai 2006 15:43, Marcus Falck wrote:
> Why does it reply with 1 as boost? Shouldn't this value be 2?
No, these values are normalized and/or mixed with other values internally
and cannot be re-fetched in their original form.
Regards
Daniel
--
http://www.danielnaber.de
-
Document boosts are folded into the individual fieldNorms when the
document is indexed -- they are not accessible from the Document object
returned after doing search. This is mentioned in the javadocs for
Document.getBoost ... at least it is in 1.9, I'm not sure about 1.4.
: Date: Wed, 17 May
: This kinda leads me back to my "best practises" question: If Im building
: up the query dynamically based off of several fields (rather than the
: user entering a Lucene Query), Im kind of wondering If I should be using
: query parser at all...?! I keep feeling that maybe I should just be
: buil
Hi all,I am evaluating Lucene
1.9 for a search application. I am using MultiFieldQueryParser for searching across fields and everything works fine. However, we have a new requirement where certain fields need to be boosted while searching. To complicate matters, users can specify fields while sear
On 5/16/06, Marcus Falck <[EMAIL PROTECTED]> wrote:
I'm working on a very large implementation of a search engine based on the
lucene api (1.4.3). We have also been investigating enterprise search companies
such as FAST and Verity but have come to the conclusion that we might aswell
save ourse
When you write your query, you can add a date range with a boot factor
for this field, i.e boost y a factor x the documents that have a date of
today, boost by x-1 the documents from the past wee, boost by x-2 the
documents from the past two weeks, etc'.
This will not be a perfect sort on the dat
No, Lucene does not have an update index option, you need to reindex
Aviran
http://www.aviransplace.com
-Original Message-
From: Harini Raghavan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 17, 2006 12:59 PM
To: java-user@lucene.apache.org
Subject: adding new fields to index
Hi All,
Hi All,
I have an existing lucene index whose size is around 10G. I need to
add/delete some fields for all the documents in the index. Is there any
way to do this without reindexing all the documents again?
Thanks,
Harini
-
To
On 5/17/06, Martin Kobele <[EMAIL PROTECTED]> wrote:
> There may also be a bug in your code that adds the 512 documents (not
> synchronizing the clients properly could cause your count to be off).
luke tells me how many documents are in my index. I open the index in luke
after I closed my app.
al
On Wednesday 17 May 2006 09:55, karl wettin wrote:
> I can only guess out of the blue. Do you clear the index now and then
> when creating a new IndexWriter? You say there is only one instance of
> that so that would not be it then.
how do I clear the index?
I create an IndexWriter with the create
On Wednesday 17 May 2006 12:03, Yonik Seeley wrote:
> On 5/17/06, Martin Kobele <[EMAIL PROTECTED]> wrote:
> > several threads add document to the same index.
> > As noted in the FAQ, adding documents is thread safe.
> > (I even synchronize my static index writer when I add documents. just to
> > m
On 5/17/06, Martin Kobele <[EMAIL PROTECTED]> wrote:
several threads add document to the same index.
As noted in the FAQ, adding documents is thread safe.
(I even synchronize my static index writer when I add documents. just to make
sure.)
However, after addind all my documents, the index does n
On 5/17/06, Marcus Falck <[EMAIL PROTECTED]> wrote:
I did a quite interesting notice, if i search for IndexId:x
(IndexId is unique) with a sort it still takes very long time, which
it doesn't without the sort.
This will only be the case the first time you sort on a field because
a FieldCache
Hey - thanks Marc - that's really useful information, thanks so much!
Its really good to hear that someone has already used the "field
metadata" approach - and I definitely think it's the route I'll now be
taking :o)
Thanks,
Dave
> -Original Message-
> From: Marc Dauncey [mailto:[EMAIL P
I'm working on designing this kind of meta configuration on top of some Lucene
indexes right now. The company I work for has several different "products"
which have to be indexed and searched, each with their own field list.
Sometimes products will map to many individual Lucene indexes.
The s
On Wed, 2006-05-17 at 09:38 -0400, Martin Kobele wrote:
> On Wednesday 17 May 2006 09:09, karl wettin wrote:
> > On Wed, 2006-05-17 at 09:02 -0400, Martin Kobele wrote:
> > > How can I check whether a document was actually added?
> > > Is there another way to monitor whether the doc was added?
> >
Hello,
I have run in to problems regarding boosting of documents, using
lucene.net 1.4.3 (so if anybody runs the java version and feel for
running my posted source code please do so and see if the result is the
same).
The following code:
// The following example illustrates the boos
On May 17, 2006, at 8:19 AM, Irving, Dave wrote:
First - thanks for Lucene! I started working with it a few days ago,
bought the Lucene In Action book, and Im very impressed with both.
Thank you for the latter! For the former, thanks go to Doug and many
others.
Im integrating search in t
On Wednesday 17 May 2006 09:09, karl wettin wrote:
> On Wed, 2006-05-17 at 09:02 -0400, Martin Kobele wrote:
> > How can I check whether a document was actually added?
> > Is there another way to monitor whether the doc was added?
>
> Luke is your friend when it comes to inspecting indices.
>
Hi,
...
>> So, I just need to run the terms entered by the user in each field
>> against the appropriate analyser, and build up the query that way.
>> Does that sound like a sensible approach? Are there any
>> code samples
>> around showing how to run search phrases through analysers
>> and
On Wed, 2006-05-17 at 14:23 +0200, Marcus Falck wrote:
>
> I did a quite interesting notice, if i search for IndexId:x
> (IndexId is unique) with a sort it still takes very long time, which
> it doesn't without the sort.
>
> Does anybody know why? I mean the resultset contains exactly 1
> doc
Hi,
several threads add document to the same index.
As noted in the FAQ, adding documents is thread safe.
(I even synchronize my static index writer when I add documents. just to make
sure.)
However, after addind all my documents, the index does not contain all of the
documents. When I run it a
See below...
1) Are there any "best / common practises" for this that I've missed
during my web searches and reading of Lucene in Action?
OF COURSE there are , but I don't know where they are either..
2) I don't want to release the full query syntax to users: So I'll
probably have multiple
Alberto:
Not a problem. You can add more data to an index even as it is being read by
your application.
HOWEVER, you must close and reopen your IndexReaders before the
newly-indexed data is available to the readers. This is an expensive
operation, so I would close/open the IndexReader judiciousl
I did a quite interesting notice, if i search for IndexId:x
(IndexId is unique) with a sort it still takes very long time, which
it doesn't without the sort.
Does anybody know why? I mean the resultset
contains exactly 1 document.
/Regards
Marcus
Hi,
First - thanks for Lucene! I started working with it a few days ago,
bought the Lucene In Action book, and Im very impressed with both.
Im integrating search in to an existing pet-project web application
where new fields for index / search may be added via configuration.
My idea is to have a
My question if is once created indices in a directory I I can add more indices
without having to erase the previous directory that already I have created.
Since I need to be continuously adding files indice, thus not if Lucene does
what I need.
My language is the Spanish does not exist sup
32 matches
Mail list logo