On Apr 3, 2005, at 3:33 PM, Gusenbauer Stefan wrote:
Sorry for beeing late!
Only the test code wouldn't be very useful for understanding because
there are a lot of dependencies in the other code. I can explain what
I do: I open an IndexWrite close it then open an IndexReader close it
and open an
On Sat, 2005-04-02 at 10:29 +0200, Kristian Ottosen wrote:
> I wonder if there is general problem running Lucene on top of some of the
> journaling file systems like ReiserFS or Ext3?
I haven't had any problems running Lucene on either of those file
systems. I've done updates to the index while pe
Erik Hatcher wrote:
>
> On Apr 3, 2005, at 3:33 PM, Gusenbauer Stefan wrote:
>
>> Sorry for beeing late!
>> Only the test code wouldn't be very useful for understanding because
>> there are a lot of dependencies in the other code. I can explain what
>> I do: I open an IndexWrite close it then open
Hi
guys
Apologies..
Using a
MultiFieldQueryParserfor a
query like below for a CUSTOM SEARCH
(+(+KEY3:camera +KEY3:photo) -KEY3:accessories -KEY3:studio -KEY3:cleaners
-KEY3:film -KEY3:filters -KEY3:flashes -KEY3:lenses -KEY3:lighting -KEY3:tripods
-KEY3:cables -KEY3:digital
Could some more experienced users suggest a solution to my problem. I have
documents which contain multiple terms and phrases, and I wish to collect
documents which match only the term I query for.
For example:
Doc1 contains,
species:"homo sapien" Mammalia
Doc2 contains,
species:"homo sapien
I haven't looked at Luke's source code to confirm, but my hunch is that
Luke is upping the maximum clause count of BooleanQuery. (see
BooleanQuery.setMaxClauseCount())
Erik
On Apr 4, 2005, at 5:01 AM, Karthik N S wrote:
Hi guys
Apologies..
Using a MultiFieldQueryParser
On Mon, 2005-04-04 at 09:17 +, mad Cow wrote:
> Could some more experienced users suggest a solution to my problem. I have
> documents which contain multiple terms and phrases, and I wish to collect
> documents which match only the term I query for.
>
> For example:
> Doc1 contains,
>spe
Hi
Erik
The Exception is caused even
whenBooleanQuery.setMaxClauseCount(Integer.MAX_VALUE) is used
but Luke DOES NOT .. 8(
with regards
Karthik
-Original Message-
From: Erik Hatcher [mailto:[EMAIL PROTECTED]
Sent: Monday, April 04, 2005 3:28 PM
To: java-user@lucene.apache.org
Erik Hatcher wrote:
I haven't looked at Luke's source code to confirm, but my hunch is that
Luke is upping the maximum clause count of BooleanQuery. (see
BooleanQuery.setMaxClauseCount())
No, it doesn't. The reason for that exception NOT occuring with Luke is
simply the fact that Luke uses Lu
On Apr 4, 2005, at 7:06 AM, Karthik N S wrote:
Hi
Erik
The Exception is caused even
whenBooleanQuery.setMaxClauseCount(Integer.MAX_VALUE) is used
but Luke DOES NOT .. 8(
Sorry, I completely misspoke and did not fully analyze the error you
received. There is a limit of 32 required/prohi
Hello all,
I've just bought the Lucene in Action book, and I'm delving into search
sorts, trying to improve the way that we do sorting in JIRA.
I'm looking to implement my own SortComparatorSource, as many of the
objects that I need to return from the index can't return comparable, and
I want to
I wonder if you could accomplish your goal by creating another field
during indexing which holds the number of terms in the "species" field.
If that's possible, then you might get what you want with a query like:
+species:"homo sapien" +num_species:1.
mad Cow wrote:
Could some more experienced
On Monday 04 April 2005 14:02, Erik Hatcher wrote:
>
> On Apr 4, 2005, at 7:06 AM, Karthik N S wrote:
>
> > Hi
> >
> > Erik
> >
> > The Exception is caused even
> > whenBooleanQuery.setMaxClauseCount(Integer.MAX_VALUE) is used
> > but Luke DOES NOT .. 8(
>
> Sorry, I completely misspok
hi guys,
is it possible to filter the hits returned from a certain query?. for example
if I have a search like this:
Query searchQuery = queryParser.parse( query );
Hits results = m_searcher.search( searchQuery );
is there a way to use the results and find out how many of the ret
Hello, java-user.
I have documents with tokenized, indexes and stored field. This field
contain one-two words usually. I need to be able to search exact
matches for two words.
For example search "John" should return documents with field
containing "John" only, not "John Doe" or "John Foo".
Any id
Chris, thanks for your help. I came to the same conclusions about using
the ChainedFilter. However there are situations where applying a filter
at the end wouldn't work. Consider the same two filtered queries plus
and an OR:
(FilteredQuery1 AND FilteredQuery2) OR TermQuery
Where TermQuery can b
On Apr 4, 2005, at 4:34 PM, Yura Smolsky wrote:
Hello, java-user.
I have documents with tokenized, indexes and stored field. This field
contain one-two words usually. I need to be able to search exact
matches for two words.
For example search "John" should return documents with field
containing "Jo
Hi! Eric,
I end up purchasing your book "Lucene in Action". I have downloaded
your code samples. I am able to retrieve "result" only some time. Below is the
code I have taken from Search.jhtml in lucene demo. I have 2 problem
a) I am unable to display "result" using
b) When I click on th
Oops, sorry. First went to dev by accident.
-- Forwarded message --
I know Lucene is very scalable in many ways, but how about number of fieldnames?
We have an index using around 6000 unique fieldnames,
450,000 documents, and a total index size of 4GB. It's very
sparse... docum
Yonik Seeley wrote:
I know Lucene is very scalable in many ways, but how about number of fieldnames?
We have an index using around 6000 unique fieldnames,
How many of these fields are indexed? At this point I would recommend
against having more than a handful of indexed fields. If the fields are
They are all indexed (and they all need to be under the current design).
-Yonik
On Apr 4, 2005 6:16 PM, Doug Cutting <[EMAIL PROTECTED]> wrote:
> Yonik Seeley wrote:
> > I know Lucene is very scalable in many ways, but how about number of
> > fieldnames?
> >
> > We have an index using around 600
On Apr 4, 2005, at 5:35 PM, Yagnesh Shah wrote:
I end up purchasing your book "Lucene in Action". I have downloaded
your code samples. I am able to retrieve "result" only some time.
Below is the code I have taken from Search.jhtml in lucene demo. I
have 2 problem
a) I am unable to display "
I've got a situation where I'm searching over a number of different
repositories, each containing a different set of documents. I'd like
to run searches over, say, 4 different indices, then combine the
results outside of Java to present to the user. Is there any way of
normalizing search scores o
I think Chuck and friends have provided just such a patch, but we
haven't applied it yet :(
Otis
--- Bill Janssen <[EMAIL PROTECTED]> wrote:
> I've got a situation where I'm searching over a number of different
> repositories, each containing a different set of documents. I'd like
> to run s
Hi Omar,
You could iterate through hits (results), pulling out a document at a
time and checking the appropriate field (e.g.
field.endsWithIgnoreCase(".com") )
Otis
--- Omar Didi <[EMAIL PROTECTED]> wrote:
> hi guys,
>
> is it possible to filter the hits returned from a certain query?. for
> ex
Hi, Otis.
Yes, I looked at Chuck's messages on the mailing list. But he seems
to be focussing on MultiSearcher approaches, where I'm looking for a
way (I think) to adjust each individual index so that it will give
scores similar to the others. I don't quite see how to merge the
results outside o
Bill Janssen writes (4/4/2005 6:38 PM):
Hi, Otis.
Yes, I looked at Chuck's messages on the mailing list. But he seems
to be focussing on MultiSearcher approaches, where I'm looking for a
way (I think) to adjust each individual index so that it will give
scores similar to the others. I don't quite
Hi,
I have been using lucene-1.3.jar for quite some time and we are using another
library to store the index in DB.
When we started indexing the writer.optimize used to take in the range of
600-800 milliseconds to return but now our index has grown to huge proportion
and its around 10
Goel, Nikhil writes (4/4/2005 7:14 PM):
Hi,
I have been using lucene-1.3.jar for quite some time and we are using another library to store the index in DB.
When we started indexing the writer.optimize used to take in the range of 600-800 milliseconds to return but now our index has grown t
29 matches
Mail list logo