Hi
you know, actually we dont indexed this field as Date. we always use string
instead of Date type because we use both Hijri date and Gregorian date so if
we put a Hijri date the DateField not work properly. that is why we index
such this field as String.
as I read the javadoc for QueryParser, i
They are not really unique. Here are my code to unlock the directory.
Notice there are two locks.
public static void unlockDirectory(Directory dir) {
Lock dirLock = dir.makeLock(IndexWriter.WRITE_LOCK_NAME);
if (dirLock.isLocked()) {
logger.debug("unlocking " + dirLock
SearchBlox Software has released Version 4.0 of its Content Search Software.
SearchBlox uses the Lucene Search API and delivers out-of-the-box search
functionality for quick and easy integration with websites, intranets and
portals. SearchBlox incorporates integrated HTTP/HTTPS, File System and
How do I clear the locks ? THey have unique names and the name changes
everytime...
Chris Lu wrote:
> A safe way to do this is to clear the locks just before starting your
> war file.
>
-
To unsubscribe, e-mail: [EMAIL PROTECTED
Daniel,
Thanks for replying. THe only reason I don't close my indexSearcher is
that I got the "Too Many File Open Exception" and I decided to make my
searcher static in the SearchService.
If I do go and close then open a new one I may expose myself to some
concurent access issues while people can
: Indexed is orthogonal to stored. Stored fields aren't in necessarily the
: index (that is, serachable fields), but are associated with the document.
: Stored fields are accessible through the document interface instead, see the
: the methods on Fieldable.
all true, but slightly orthoginal i bel
: Could you send me the complete url please.
: Thanks in advence.
it's part of the lucene release, it's just not in the core jar .. it is
in a jar in the directory mentioned...
: The contrib/highlighter directory contains the jar file that is needed.
-Hoss
A copule of possibilities come to mind, whether they're suitable
or not.
First, you could re-form your query to cover all the meta-data fields.
If I read your description correctly, you have, say, author, city, title
fields. You search over metadata but want to highlight
in author, city and
: > I even removed "/" from my query but still not working good.
: > Do I have to index dates issues without "/"?
: > now in the index I have 1978/05/05 should I change it to 19780505?
:
: Unless I'm mistaken (and it's been ages since I looked at the date stuff
: myself) this sort of thing only wo
The only thing I'd add to Steve's mail is that it's probably easier
on a conceptual basis to add the dates in as a separate field.
The muliple add method should be simpler. Consider if you just insert
dates as MMDD, into your token stream and have, say
19990715, 20070122, and 2go. a range from
Maybe I'm missing something in turn, but why not just use a Sort object at
search time? You can have a Hits object or TopFIeldDocs object returned
(the Filter in some of these calls can be null).
Best
Erick
On 3/1/07, Ulf Dittmer <[EMAIL PROTECTED]> wrote:
Hello-
One of the fields in my ind
OK, I'm working from memory here, so
Indexed is orthogonal to stored. Stored fields aren't in necessarily the
index (that is, serachable fields), but are associated with the document.
Stored fields are accessible through the document interface instead, see the
the methods on Fieldable.
Erick
A safe way to do this is to clear the locks just before starting your war file.
--
Chris Lu
-
Instant Full-Text Search On Any Database/Application
site: http://www.dbsight.net
demo: http://search.dbsight.com
On 3/4/07, MC Moisei <[EMAIL PROTECTED]> wrote:
Is there a easy
MC Moisei wrote:
Is there a easy way to clear locks ?
If I redeploy my war file and it happens that there is an indexing
happening the lock is not cleared. I know I can tell JVM to run the
finalizers before it exits but in this case the JVM is not exiting being
a hot deploy.
Any ideas ?
Runti
MC Moisei wrote:
Hi to all members of the user group!
Let me get to my problem. I use Lucene in two different parts of the
application. One is the SearchService and one is an AOP interceptor that
intercepts any changes in the Searcheable entities. This last part is
removing the document from the
Mohammad Norouzi wrote:
Hi again
I even removed "/" from my query but still not working good.
Do I have to index dates issues without "/"?
now in the index I have 1978/05/05 should I change it to 19780505?
Unless I'm mistaken (and it's been ages since I looked at the date stuff
myself) this so
The Nutch sources contain Ryan Ackley's Word6Extractor which has the header
/* Copyright 2004 Ryan Ackley
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
Is there a easy way to clear locks ?
If I redeploy my war file and it happens that there is an indexing
happening the lock is not cleared. I know I can tell JVM to run the
finalizers before it exits but in this case the JVM is not exiting being
a hot deploy.
Any ideas ?
MC
Hi to all members of the user group!
Let me get to my problem. I use Lucene in two different parts of the
application. One is the SearchService and one is an AOP interceptor that
intercepts any changes in the Searcheable entities. This last part is
removing the document from the index and add the
Could you send me the complete url please.
Thanks in advence.
-Original Message-
From: Ulf Dittmer [mailto:[EMAIL PROTECTED]
Sent: Sun 3/4/2007 11:36 AM
To: java-user@lucene.apache.org
Cc:
Subject: Re: Package org.apache.lucene.search.hi
The contrib/highlighter directory contains the jar file that is needed.
Ulf
On 04.03.2007, at 10:58, WATHELET Thomas wrote:
How can I add the Package org.apache.lucene.search.highlight into
my projects because the standart Lucene api 2.1.0 do not content
this package?
--
How can I add the Package org.apache.lucene.search.highlight into my projects
because the standart Lucene api 2.1.0 do not content this package?
22 matches
Mail list logo