Hi,
There is one class named org.apache.lucene.index.ParallelReader, as its javadoc
stated:
An IndexReader which reads multiple, parallel indexes. Each index added must
have the same number of documents, but typically each contains different
fields. Each document contains the union of the field
HI,
My requirement is to search multiple databases which are present on
different machines all of which are indexed using lucene
Can it be done using the web interface of lucene ?
If yes what is the procedure for that and what other tools are requried?
To make it more clear, i'm giving an exampl
After taking a quick look, I don't see how you can do this without
modifying the QueryParser. In QueryParser.jj you will find the conflict
of interest at line 891. This line will cause a match on smith,ann* and
trigger a wildcard term match on the whole piece.
This is again caused by the fact
My very simple analyzer produces tokens made of digits and/or letters only.
Anything else is discarded. E.g. the input "smith,anna" gets tokenized as 2
tokens, first "smith" then "anna".
Say I have indexed documents that contained both "smith,anna" and
"smith,annanicole". To find them, I enter th
Hi Simon:
If you are using Oracle 10g you can get the advantage of using
Lucene inside the Oracle JVM.
Look at this contribution:
http://issues.apache.org/jira/browse/LUCENE-724
The most important difference of this implementation in that all
the operation between Lucene to index table data
Hello:
[This is not an intentional cross-posting. I posted this same question to
the 'general' lucene list; replies there suggested that I'd have
better/quicker responses using this list instead.]
I'm investigating Lucene as a replacement for a special-purpose search
technology that was develop
Hi Tanya,
I think one option is to index each log file with 2 fields, the name of
the log file and a line of your log. This way you can do a query like
this: +log_file_name:"log1" +line:"word1" -(+line:"word1" +line"word2")
Hope it helps,
Rossini
On 6/13/07, Tanya Levshina <[EMAIL PROT
Hi,
1. I am dealing with the logs files and have to index the whole file (the
attempt to increase setMaxFielldLength eventually causes out of memory
error). I am sure that I am not a first person that encounters this problem.
What is the most efficient way to handle this situation?
2. I am index
Israel, I don't really know much about MultiSearcher, but just to clarify:
are you saying that the change you have works ok, as long as people are
also using hte patch in LUCENE-789 (which will be in 2.2) or are you
saying that the change you tried doesn't work when using a custom
similarity, for
Hi all,
I am new to Lucene and I have been reading the book "Lucene In Action",
here is my question:
When searching for a word through an index is there any way to know in
which positions (may be more than one) of each document that word was
found?
The index is constructed in the following way:
I think you stumbled onto the same problem I had, check out:
http://mail-archives.apache.org/mod_mbox/lucene-java-user/200705.mbox/[EMAIL
PROTECTED]
If you don't want to rebuild lucene, consider using the
public TopDocs search(Query query, Filter filter, int n)
method instead of the one that re
This is a classpath issue. Please go back through the directions
very carefully. My example of classpath is for my Operating System
(OS X). You will need to configure you classpath appropriate for you
operating system.
On Jun 13, 2007, at 10:06 AM, Lucene Help wrote:
I tried doing what
Lucene User... (that's a very generic name to be addressed. if you really
want a phoney name, consider something less generic in this forum), you
probably are using HTML format, try changing it to plain text.
-Gopi
On 6/13/07, Erick Erickson <[EMAIL PROTECTED]> wrote:
Really, check your e-mail
Really, check your e-mail settings. Or put in manual line breaks.
The lack of line breaks makes it virtually impossible to read
your messages and makes it very much less likely that anyone will respond.
Best
Erick
On 6/13/07, Lucene Help <[EMAIL PROTECTED]> wrote:
I tried doing what you did.
Be very clear what you want Lucene to do. What your database
schema is and whether the columns are indexable is totally
irrelevant to your Lucene index. What is relevant is how you
construct your lucene index to solve the underlying problem.
Of course, the underlying problem may be reflected in yo
In case anyone was interested, making the change I described surfaced a bug
that causes the custom similarity to not work.
There is a patch:
https://issues.apache.org/jira/browse/LUCENE-789
On 5/29/07, Israel Tsadok <[EMAIL PROTECTED]> wrote:
Hi,
I am developing a distributed index, using Mult
I tried doing what you did. At step 3, I got the following: Exception in
thread "main" java.lang.NoClassDefFoundError: org/apache/lucene/demo/IndexFiles
Thank you in advance for your help. - Lucene User> From: [EMAIL PROTECTED]>
Subject: Re: ERROR opening the Index - contact sysadmin!> Date:
Thanks Mathieu!
Didn't realise this was avalaible before you mentioned it.
Did comparative tests, and it is as fast or much faster, thanks to
caching, depending on the length of the prefix. Hey, it even works with
wildcard within the "search string".
Thanks again! Isn't Lucene wonderful!
Patri
Here's what I did:
1. Downloaded and unpacked 2.1.0
2. >cd lucene-2.1.0
3. >java -cp lucene-core-2.1.0.jar:lucene-demos-2.1.0.jar
org.apache.lucene.demo.IndexFiles /lucene-2.1.0/
docs
Step 3 takes a little bit to run. You can point this at any
directory you want to index
4. >ls
BUILD.t
Hello,I tried uninstalling and installing Lucene 2.1.0 and Tomcat 5.5. I
followed the Lucene demo instructions and set the CLASSPATH as follows:
.;C:\lucene-2.1.0\lucene-core-2.1.0.jar;C:\lucene-2.1.0\lucene-demos-2.1.0.jar
I tehn typed java org.apache.lucene.demo.IndexFiles C:\lucene-2.1.0\
Its not a trick. And this is what lucene meant for.
Jelda
> -Original Message-
> From: Sammpathkumar, C [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 13, 2007 9:36 AM
> To: java-user@lucene.apache.org
> Subject: Using Lucene as compressed DB
>
> Hi,
>
> I am looking for a in memor
Hi,
I am looking for a in memory Database which needs high speed search
capability as well as should compress the data stored.
Currently have only one table with two columns only in my design.
Can we trick Lucene to use it for the above purpose?
I am thinking something like:
- Create a initial i
I recently had a thought to do with DbDirectory - specifically would it
be possible to use something like Oracle's inbuilt replication to have
mutiple Reader machine being able to read the index with automatic
partitioning, redundancy and failover?
Also, what is performance like for DbDirectory
23 matches
Mail list logo