That was it - thank :)
--- On Tue, 1/11/11, Simon Willnauer wrote:
From: Simon Willnauer
Subject: Re: Newbie question: optimized files?
To: java-user@lucene.apache.org
Date: Tuesday, January 11, 2011, 12:06 AM
Hey,
this looks like you are hitting the optimization done in LUCENE-2773
(https
Hey,
this looks like you are hitting the optimization done in LUCENE-2773
(https://issues.apache.org/jira/browse/LUCENE-2773) that prevents
merged segments that are larger than 10% (by default - see
LogMergePolicy#noCFSRatio) of the index size it will be left in
non-compound format even if compoun
Hi,
Continuing my question - I now suspect a bug in Lucene 3.0.3, because I ran the
test with Lucene 3.0.0 and it worked okay (no junk files)... could anyone
please confirm?
--- On Mon, 1/10/11, sol myr wrote:
From: sol myr
Subject: Newbie question: optimized files?
To: java-user@lucene.apac
Tsadok wrote:
From: Israel Tsadok
Subject: Re: Newbie Question
To: java-user@lucene.apache.org
Date: Sunday, 7 November, 2010, 9:54
(If I may)
In Lucene terminology, an "index" is what would be a "database" in RDBMS
terminology. It's the whole thing.
A document is akin
hanks
>
> --- On Sun, 7/11/10, Senthil wrote:
>
> From: Senthil
> Subject: Re: Newbie Question
> To: java-user@lucene.apache.org
> Date: Sunday, 7 November, 2010, 8:30
>
> Hi,
> I recommend you to try simple indexer and searcher code from book which
> clear the con
Hi,
I recommend you to try simple indexer and searcher code from book which
clear the confusion.
You need to specify the indexing folder and all the fields and values
selected for indexing will stored in that folder. And during search, it
searches from index and get the reference file path for
== document if there is only one document?
Thanks
--- On Sun, 7/11/10, Senthil wrote:
From: Senthil
Subject: Re: Newbie Question
To: java-user@lucene.apache.org
Date: Sunday, 7 November, 2010, 8:30
Hi,
I recommend you to try simple indexer and searcher code from book which
clear the confusion
My guess is you're not using a 2.9-dev (nightly) version of Lucene's jar?
That constructor for FSDirectory is new in 2.9-dev, and the book's
sources are actively tracking Lucene's.
However, you don't need to create your own Makefile: there's an ant
build.xml script. You should be able to just ru
Hi,
instead of the ClassBridge you can just annotate all the properties you
want to index with
@Field and build a BooleanQuery out of the input field. Indexing the
properties into
separate document fields is probably more extendable in the future when
you for example
only want to search on
Consider the use of the ClassBridge in Hibernate Search. Very useful. It
basically allows you to merge multiple fields of your hibernate entity into
a single lucene field. Once this is done, you can query this single field
from lucene without the need for BooleanQuery.
HTH,
Stéphane
On Tue, Dec
Hmm, this strikes me as there being something wrong with the index,
but it could be a bug, too. Do you get an error if you just run the
BooleanQuery without the filter? How about if you run a simple
TermQuery with the Filter? Can you open the index with Luke? Does
the CheckIndex tool (i
Hi Yonik:
A simple RangeFilter did the trick
> public class NotNullRangeFilter extends org.apache.lucene.search.Filter {
>private RangeFilter rangeFilter;
>public BitSet bits(IndexReader reader) throws IOException {
>rangeFilter = RangeFilter.More("lastUpdatedDate"/*Field to sort*
You're on the right track I think... perhaps try using RangeFilter
directly rather than creating your own class. Something like:
Filter filter = RangeFilter.More("lastUpdatedDate","");
searcher.search(query, filter)
If that works for you, then the next step would be to look at
CachingWrapperFilt
Hi Yonik,
Thanks for your reply.
In my case I don't want those document that has Null value for the field
that I am willing to sort
I tried writing my own filter using RangeFilter, but it doesn't work.
I used something like the following in my custom filter.
public class NotNullRangeFilter ext
On Tue, Oct 14, 2008 at 4:35 AM, Reetha Hariharan <[EMAIL PROTECTED]> wrote:
> I am searching using one field, say X and want to sort the results using
> another, say Y (Which can have null values). But I am expecting Sort to
> ignore all the null values and just sort only records that has values i
Hi Leonid
If you are not familiar with Oracle XMLDB schema mappings here an
example of how to store WikiPedia XML dumps into Oracle database, but
using XML-to-relational model:
http://marceloochoa.blogspot.com/2007/12/uploading-wikipedia-dumps-to-oracle.html
The structure of WikiPedia dumps s
Hi Karsten,
Thanks a lot. I finally have got Your idea.
Ok, I think it's worth to do the real job now :) Thanks for the advices,
finally I have understood the directions I could go for it.
>
> do you really need the "Complex scenario"?
>
what kind of query is your use case?
My Query UC is smth
Hi Leonid,
do you really need the "Complex scenario"?
what kind of query is your use case?
If you really need xpath please look for xml-Databases.
Otherwise you can possible use xtf out of the box, because "indexing of
large structured documents" is exactly the use case for which xtf was
develo
Hi all,
Thanks a lot for such a quick reply.
Both scenario sounds very well for me. I would like to do my best and try to
implement any of them (as the proof of the concept) and then incrementally
improve, retest, investigate and rewrite then :)
So, from the soap opera to the question part then:
Hi Leonid,
what kind of query is your use case?
Comlex scenario:
You need all the hierarchical structure information in one query. This means
you want to search with xpath in a real xml-Database. (like: All Documents
with a subtitle XY which contains directly after this subtitle a table with
the
Any comments, suggestions? Maybe I should rephrase my original message or
describe it in detail?
I really would like to get any response if possible.
Thanks a lot in advance!
On Mon, Sep 1, 2008 at 10:25 AM, Leonid Maslov <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> First of all, sorry for my poor E
AUTOMATIC REPLY
Tom Roberts is out of the office till 2nd September 2008.
LUX reopens on 1st September 2008
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
AUTOMATIC REPLY
Tom Roberts is out of the office till 2nd September 2008.
LUX reopens on 1st September 2008
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
in wrote:
Chris,
-Original Message-
From: Chris Bamford [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 10, 2008 9:15 AM
To: java-user@lucene.apache.org
Subject: Re: newbie question (for John Griffin) - fixed
Hi John,
Please ignore my earlier questions on this subject, as I have got
e!
>
> Thanks,
>
> -Chris
> BTW thanks for the tip about Luke
>
>
> John Griffin wrote:
> > Chris,
> >
> > -Original Message-
> > From: Chris Bamford [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, July 10, 2008 9:15 AM
> >
and 2.3 jars.
Please advise!
Thanks,
-Chris
BTW thanks for the tip about Luke
John Griffin wrote:
Chris,
-Original Message-
From: Chris Bamford [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 10, 2008 9:15 AM
To: java-user@lucene.apache.org
Subject: Re: newbie question (for John
Chris,
-Original Message-
From: Chris Bamford [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 10, 2008 9:15 AM
To: java-user@lucene.apache.org
Subject: Re: newbie question (for John Griffin) - fixed
Hi John,
Please ignore my earlier questions on this subject, as I have got to the
riginal Message-
From: Chris Bamford [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 10, 2008 5:58 AM
To: java-user@lucene.apache.org
Subject: Re: newbie question (for John Griffin)
Hi John,
Further to my question below, I did some back-to-basics investigation of
PhraseQueries and found that ev
Hi John,
Please ignore my earlier questions on this subject, as I have got to the
bottom of it.
I was not passing each word in the phrase as a separate Term to the
query; instead I was passing the whole string (doh!).
Thanks.
- Chris
Chris Bamford wrote:
Hi John,
Further to my question be
Hi John,
Further to my question below, I did some back-to-basics investigation of
PhraseQueries and found that even basic ones fail for me...
I found the attached code on the Internet (see
http://affy.blogspot.com/2003/04/codebit-examples-for-all-of-lucenes.html)
and this fails too... Can you
Hi John,
Just continuing from an earlier question where I asked you how to handle
strings like "from:fred flintston*" (sorry I have lost the original email).
You advised me to write my own BooleanQuery and add to it Prefix- /
Term- / Phrase- Querys as appropriate. I have done so, but am having
a-user@lucene.apache.org
cc
Subject
Re: Newbie question...
Hi Don,
No, Lucene does not require all documents to have the same set
of fields. It is different from a database table - it is all very
flexible. So doc1 can have fields f1, f2, and doc2 can have fields
f2 f3, and doc3 can have only field f
Hi Don,
No, Lucene does not require all documents to have the same set
of fields. It is different from a database table - it is all very
flexible. So doc1 can have fields f1, f2, and doc2 can have fields
f2 f3, and doc3 can have only field f4, and doc4 can have no fields
at all (likely that doc4 w
ed the sortable
> fields as 'stored' then the process above would preserve those
> fields and hence sorting would proceed as normal.
>
> Does that make sense?
>
> Thanks
>
> Alan
>
> -Original Message-----
> From: Erick Erickson [mailto:[EMAIL PROTECTED
ould preserve those
fields and hence sorting would proceed as normal.
Does that make sense?
Thanks
Alan
-Original Message-
From: Erick Erickson [mailto:[EMAIL PROTECTED]
Sent: Thu 9/14/2006 18:00
To: java-user@lucene.apache.org
Cc:
Subject:Re: Newbie question: lucene sort
On 9/14/06, Alan Boshier <[EMAIL PROTECTED]> wrote:
That was my understanding (that they had to be indexed) but
making them stored seems to have fixed the problem we were
seeing, which is odd.
Not being an expert on how lucene works internally, I'm
struggling to see how this change could have ma
Original Message-
From: Mordo, Aviran (EXP N-NANNATEK) [mailto:[EMAIL PROTECTED]
Sent: Thu 9/14/2006 17:18
To: java-user@lucene.apache.org
Cc:
Subject:RE: Newbie question: lucene sorting problems and stored
fields
AFIK, the field has to be indexed, but I don't think it
On 9/14/06, Alan Boshier <[EMAIL PROTECTED]> wrote:
Is it a requirement when creating a field for sorting to
make it stored?
No, stored doesn't matter... it must be indexed though.
-Yonik
http://incubator.apache.org/solr Solr, the open-source Lucene search server
-
ssage-
From: Mordo, Aviran (EXP N-NANNATEK) [mailto:[EMAIL PROTECTED]
Sent: Thu 9/14/2006 17:18
To: java-user@lucene.apache.org
Cc:
Subject: RE: Newbie question: lucene sorting problems and stored fields
AFIK, the field has to be indexed, but I don't think it has to be stored
AFIK, the field has to be indexed, but I don't think it has to be stored
(but then again maybe I'm wrong)
Aviran
http://www.aviransplace.com
-Original Message-
From: Alan Boshier [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 14, 2006 11:39 AM
To: java-user@lucene.apache.org
Subjec
On Jun 29, 2005, at 1:12 AM, Xing Li wrote:
1) Downloaded 1.4.3 src
2) ran ant... everything builds
3) $ cd builds
4) $ java -jar lucene-1.5-rc1-dev.jar
Failed to load Main-Class manifest attribute from
lucene-1.5-rc1-dev.jar
I haven't build anything java for almost 5 years so not sure wha
Which main class would you expect to run ?
I don't think there's one.
Lucene is a library.
paul
PS: this has nothing MacOSX specific
Le 29 juin 05, à 10:12, Xing Li a écrit :
1) Downloaded 1.4.3 src
2) ran ant... everything builds
3) $ cd builds
4) $ java -jar lucene-1.5-rc1-dev.jar
It's as easy as replacing a Jar, if you are upgrading from a Lucene
version with compatible index format. Some versions changed the index
format. See
http://cvs.apache.org/viewcvs.cgi/*checkout*/jakarta-lucene/CHANGES.txt?rev=1.96.2.6
for index format change information.
If the index format chan
On Mar 30, 2005, at 4:42 PM, Luis Medina wrote:
Newbie question here,
is upgrading Lucene as easy as replacing the old Jar file with a newer
version's Jar file? or do I need to recompile the application's code?
Try it and see :)
It should work fine by replacing the JAR, with no recompilation
neces
44 matches
Mail list logo