Re: Lucene Newbie Question

2013-12-08 Thread Michael Sokolov
On 12/8/2013 12:03 PM, Ted Goldstein wrote: I am new to Lucene and have begun experimenting. I've loaded both the example books.csv and the various example electronic components documents. I then do a variety of queries. Quering http://su2c-dev.ucsc.edu:8983/solr/select?q=name:A* returns bot

Re: Lucene Newbie Question

2013-12-08 Thread Furkan KAMACI
Does numFound different for that two queries or not? 8 Aralık 2013 Pazar tarihinde Ted Goldstein adlı kullanıcı şöyle yazdı: > I am new to Lucene and have begun experimenting. I've loaded both the example books.csv and the various example electronic components documents. I then do a variety of q

Lucene Newbie Question

2013-12-08 Thread Ted Goldstein
I am new to Lucene and have begun experimenting. I've loaded both the example books.csv and the various example electronic components documents. I then do a variety of queries. Quering http://su2c-dev.ucsc.edu:8983/solr/select?q=name:A* returns both book entries and electronic component en

newbie question

2013-01-07 Thread jamal sasha
Hi, I have a quick question. I ran a map reduce code to process text and get the output in the json format which is like: {key: [value1,value2]} All of the above are ids and not text anymore. There is offcourse a mapping from word:key space Now, I want to do the following lookup. Given a new

Re: Newbie question: optimized files?

2011-01-12 Thread sol myr
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

Re: Newbie question: optimized files?

2011-01-11 Thread Simon Willnauer
ene 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.apache.org > Date: Mond

Re: Newbie question: optimized files?

2011-01-10 Thread sol myr
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

Newbie question: optimized files?

2011-01-10 Thread sol myr
Hi, I'm new to Lucene (using 3.0.3), and just started to check out the behavior of the 'optimize()' method (which is quite important for our application). Could it be that 'optimize' cancels out the 'compoundFile' mode? Or am I doing something wrong? Here's my test: I create an indexWriter wi

Re: Newbie Question

2010-11-07 Thread farouk alhassan
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

Re: Newbie Question

2010-11-07 Thread Israel Tsadok
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

Re: Newbie Question

2010-11-07 Thread Senthil
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

Re: Newbie Question

2010-11-07 Thread farouk alhassan
== 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

Newbie Question

2010-11-07 Thread farouk alhassan
Hi All, I'm new to Lucene and have picked up the Lucene in Action book to get started. Really enjoying it but I have a small nagging question. Is the index stored in the same "physical document" as the fields and values? If not, where is it stored and how is it linked. This is because of this

Re: newbie question again

2009-03-30 Thread Michael McCandless
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

newbie question again

2009-03-30 Thread Timon Roth
hello list sory, this is maeby a stupid questin, but i can't resolve. so maeby you can help me: i try to compile the indexer-example from the book lucene in action, 2nd edition (http://www.manning.com/hatcher3/hatcher_meapch1.pdf), but get the following error: -

Re: newbie question on querying on multiple attributes

2008-12-16 Thread Hardy Ferentschik
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

Re: newbie question on querying on multiple attributes

2008-12-16 Thread Stephane Nicoll
leanQuery for each > term? > > I am sure there is an example out there...but I haven't found one or have > misunderstood what I have seen so far. So if there is a something out > there, could someone direct me to it? > > Thanks in advance, > - Doug > -- > View this

newbie question on querying on multiple attributes

2008-12-16 Thread Doug Leeper
o far. So if there is a something out there, could someone direct me to it? Thanks in advance, - Doug -- View this message in context: http://www.nabble.com/newbie-question-on-querying-on-multiple-attributes-tp21035723p21035723.html Sent from the Lucene - Java Users mailing list archive at Nabbl

Re: Newbie Question: Query Creation Best Approach

2008-10-29 Thread Grant Ingersoll
e.lucene.search.MultiSearcher.createWeight(MultiSearcher.java: 311) at org.apache.lucene.search.Searcher.search(Searcher.java:178) Thanks! Julie -- View this message in context: http://www.nabble.com/Newbie-Question%3A-Query-Creation-Best-Approach-tp20195065p20195065.h

Newbie Question: Query Creation Best Approach

2008-10-27 Thread JulieSoko
req(IndexSearcher.java:87) at org.apache.lucene.search.Searcher.docFreqs(searcher.java:118) at org.apache.lucene.search.MultiSearcher.createWeight(MultiSearcher.java:311) at org.apache.lucene.search.Searcher.search(Searcher.java:178) Thanks! Julie -- View this message in context

Re: Newbie Question - Lucene Sorting NOT Ignoring NULL values

2008-10-22 Thread Reetha Hariharan
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*

Re: Newbie Question - Lucene Sorting NOT Ignoring NULL values

2008-10-14 Thread Yonik Seeley
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

Re: Newbie Question - Lucene Sorting NOT Ignoring NULL values

2008-10-14 Thread Reetha Hariharan
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

Re: Newbie Question - Lucene Sorting NOT Ignoring NULL values

2008-10-14 Thread Yonik Seeley
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

Newbie Question - Lucene Sorting NOT Ignoring NULL values

2008-10-14 Thread Reetha Hariharan
Hi, I am a newbie. I just configured lucene using hibernate search. But I find that the sorting doesn't ignore null values. 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

Re: Newbie question: using Lucene to index hierarchical information.

2008-09-10 Thread Marcelo Ochoa
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

Re: Newbie question: using Lucene to index hierarchical information.

2008-09-10 Thread Leonid M.
Tue, Sep 2, 2008 at 11:46 AM, Karsten F. > > <[EMAIL PROTECTED]>wrote: > > > >> Take a look to the xml-aware search in xtf ( > >> > >> > http://xtf.wiki.sourceforge.net/tagRef_textIndexer_PreFilter#toctagRef_textIndexer_PreFi

Re: Newbie question: using Lucene to index hierarchical information.

2008-09-08 Thread Karsten F.
t; >> Take a look to the xml-aware search in xtf ( >> >> http://xtf.wiki.sourceforge.net/tagRef_textIndexer_PreFilter#toctagRef_textIndexer_PreFilter7 >> ). >> The idea is to use one lucene-document for each section with only two >> fields: "text" and

Re: Newbie question: using Lucene to index hierarchical information.

2008-09-04 Thread Leonid Maslov
> So, > >>I (possibly?) could reuse PrefixQuery functionality or smth. Impacts: > >> - Strong set of index fields (small) > >> - Additional information processing - all the queries I'll use > will > >> have to work as PrefixQuer

Re: Newbie question: using Lucene to index hierarchical information.

2008-09-02 Thread Karsten F.
as PrefixQuery >> - Performance issues? >> >> >> So, have anyone tried to make things work like that? Or am I trying to >> use >> wrench to hammer in nails? I assume Lucene wasn't thought to be used like >> that, but it's worth trying (at l

Re: Newbie question: using Lucene to index hierarchical information.

2008-09-01 Thread Leonid Maslov
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

Re: Re: Newbie question: using Lucene to index hierarchical information.

2008-09-01 Thread tom
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]

Re: Newbie question: using Lucene to index hierarchical information.

2008-09-01 Thread tom
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]

Newbie question: using Lucene to index hierarchical information.

2008-09-01 Thread Leonid Maslov
Hi all, First of all, sorry for my poor English. It's not my native language. I'm trying to use Lucene to index hierarchical kind of information: I have structured html and pdf/word documents and I want to index them in ways to perform search in titles, text, paragraphs or tables only, or any com

Re: newbie question (for John Griffin) - fixed

2008-07-15 Thread Chris Bamford
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

RE: newbie question (for John Griffin) - fixed

2008-07-15 Thread Steven A Rowe
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 > >

Re: newbie question (for John Griffin) - fixed

2008-07-15 Thread Chris Bamford
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

RE: newbie question (for John Griffin) - fixed

2008-07-10 Thread John Griffin
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

RE: newbie question (for John Griffin)

2008-07-10 Thread John Griffin
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

Re: newbie question (for John Griffin) - fixed

2008-07-10 Thread Chris Bamford
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

Re: newbie question (for John Griffin)

2008-07-10 Thread Chris Bamford
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

Re: newbie question

2008-07-10 Thread Chris Bamford
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

Offsets-highlight newbie question

2008-02-10 Thread Katya
Dear All, I'm relatively new to Java and especially new to Lucene. I study Computational Linguistics and this term we are required to make projects using Lucene. My choice was to write a user-friendly application, which could allow user to crate collections of text files and then search through

Re: Newbie question...

2007-02-06 Thread Don . Reese
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

Re: Newbie question...

2007-02-06 Thread Doron Cohen
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

Newbie question...

2007-02-06 Thread Don . Reese
Hi, Sorry if this has been explained before, but could not find anything using the user archive search... I understand the concept of the fields. What is not clear is if an document must have all fields that are used in the index or not. Now let me clarify that some, lets say that there are

Re: lucene newbie question

2006-10-02 Thread Erick Erickson
ou can search unstored fields. You just can't reconstruct the input with 100% fidelity (things like stop words will be missing, and any funky games you played during indexing will mess up an attempt to reconstruct the data). Hope this helps. Erick -los >From: Erik Hatcher <[EMAIL

Re: lucene newbie question

2006-10-02 Thread Doron Cohen
type makes sense to me (with data being > a String), as well as the type "keyword". > > Is there a scenario or scenarios you can describe where Unindexed/Unstored > will be useful? Thanks in advanced! > > -los > > > >From: Erik Hatcher <[EMAIL PROTECTED]> &g

Re: lucene newbie question

2006-10-02 Thread Los Morales
MAIL PROTECTED]> Reply-To: java-user@lucene.apache.org To: java-user@lucene.apache.org Subject: Re: lucene newbie question Date: Mon, 2 Oct 2006 14:12:25 -0400 On Oct 2, 2006, at 2:08 PM, Los Morales wrote: I'm new to Lucene and IR in general. I'm a bit confused on the concept of fields. From

Re: lucene newbie question

2006-10-02 Thread Erik Hatcher
On Oct 2, 2006, at 2:08 PM, Los Morales wrote: I'm new to Lucene and IR in general. I'm a bit confused on the concept of fields. From what I've read, a field does not have to be indexed but its value can be stored in an index. Likewise a field can be indexed but its value is not stored i

lucene newbie question

2006-10-02 Thread Los Morales
Hi, I'm new to Lucene and IR in general. I'm a bit confused on the concept of fields. From what I've read, a field does not have to be indexed but its value can be stored in an index. Likewise a field can be indexed but its value is not stored in an index. Now how can a field be searchable

RE: Newbie question: lucene sorting problems and stored fields

2006-09-14 Thread Doron Cohen
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

RE: Newbie question: lucene sorting problems and stored fields

2006-09-14 Thread Alan Boshier
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

Re: Newbie question: lucene sorting problems and stored fields

2006-09-14 Thread Yonik Seeley
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

Re: Newbie question: lucene sorting problems and stored fields

2006-09-14 Thread Erick Erickson
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

Re: Newbie question: lucene sorting problems and stored fields

2006-09-14 Thread Yonik Seeley
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 -

RE: Newbie question: lucene sorting problems and stored fields

2006-09-14 Thread Alan Boshier
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

RE: Newbie question: lucene sorting problems and stored fields

2006-09-14 Thread Mordo, Aviran (EXP N-NANNATEK)
apache.org Subject: Newbie question: lucene sorting problems and stored fields Hi We are seeing intermittent problems with searches that use sorted fields (in lucene 1.4.3). If we add the fields to our Documents as 'unstored' then we start to see results that have been sorted by Document I

Newbie question: lucene sorting problems and stored fields

2006-09-14 Thread Alan Boshier
Hi We are seeing intermittent problems with searches that use sorted fields (in lucene 1.4.3). If we add the fields to our Documents as 'unstored' then we start to see results that have been sorted by Document ID. The problem goes away if we add the fields as 'stored'. Is it a requirement when

newbie question

2005-12-13 Thread Dan Nicolici
Hi! For starters I want to apologize if this is the wrong place to post a Cocoon-Lucene question. This is my first encounter with Lucene. I am trying to integrate it with Cocoon. From what I read so far I prefer the approach with LuceneIndexTransformer. Here is where I need some assistance. Fro

Re: SAME-opattor (possible newbie question)

2005-09-05 Thread Chris Hostetter
: > : For example, given this data: : > : : > : author: a b c : > : author: d e f : > : a search for "a SAME c" would match the first row, but "a SAME d" : > would : > : match nothing, which is what I want. : No, both fields are in the same document. Which is also why proximity : does not work.

Re: SAME-opattor (possible newbie question)

2005-09-05 Thread Martin Malmsten
: For example, given this data: : : author: a b c : author: d e f : : a search for "a SAME c" would match the first row, but "a SAME d" would : match nothing, which is what I want. if i understand you correctly, then you are describing a use case in which the index has two documents, each co

Re: SAME-opattor (possible newbie question)

2005-09-04 Thread Chris Hostetter
: For example, given this data: : : author: a b c : author: d e f : : a search for "a SAME c" would match the first row, but "a SAME d" would : match nothing, which is what I want. if i understand you correctly, then you are describing a use case in which the index has two documents, each contain

SAME-opattor (possible newbie question)

2005-09-04 Thread Martin Malmsten-2
Is there a way to tell Lucene to restrict proximity searches to just one field? This would mimic the BRS/Search SAME-operator, which I use very often. For example, given this data: author: a b c author: d e f a search for "a SAME c" would match the first row, but "a SAME d" would match nothing

Re: Quick newbie question

2005-07-27 Thread Erik Hatcher
40 PM, Peter Gelderbloem wrote: I wonder what would happen An exception :) Peter Gelderbloem -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED] Sent: 27 July 2005 17:36 To: java-user@lucene.apache.org Subject: Re: Quick newbie question On Jul 27, 2005, at 12:22 PM, A

Re: Quick newbie question

2005-07-27 Thread Scott Ganyo
:[EMAIL PROTECTED] Sent: 27 July 2005 17:36 To: java-user@lucene.apache.org Subject: Re: Quick newbie question On Jul 27, 2005, at 12:22 PM, Andrew Boyd wrote: Of course you can do the inverse of what Erik said. That is search for a term that you know is not in the index and use the NOT operator

Re: Quick newbie question

2005-07-27 Thread Erik Hatcher
On Jul 27, 2005, at 12:40 PM, Peter Gelderbloem wrote: I wonder what would happen An exception :) Peter Gelderbloem -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED] Sent: 27 July 2005 17:36 To: java-user@lucene.apache.org Subject: Re: Quick newbie question On Jul 27

RE: Quick newbie question

2005-07-27 Thread Peter Gelderbloem
I wonder what would happen Peter Gelderbloem -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED] Sent: 27 July 2005 17:36 To: java-user@lucene.apache.org Subject: Re: Quick newbie question On Jul 27, 2005, at 12:22 PM, Andrew Boyd wrote: > Of course you can do the inve

Re: Quick newbie question

2005-07-27 Thread Erik Hatcher
ndrew -Original Message- From: Erik Hatcher <[EMAIL PROTECTED]> Sent: Jul 27, 2005 10:49 AM To: java-user@lucene.apache.org Subject: Re: Quick newbie question On Jul 27, 2005, at 11:07 AM, Federico Tonioni wrote: Hi all! I have just a simple question How can I retrieve all docu

Re: Quick newbie question

2005-07-27 Thread Andrew Boyd
Quick newbie question On Jul 27, 2005, at 11:07 AM, Federico Tonioni wrote: > Hi all! > I have just a simple question > > How can I retrieve all documents in an index by using QueryParser? > I thought > > Query query = QueryParser.parse("*", "contents&qu

Re: Quick newbie question

2005-07-27 Thread Erik Hatcher
On Jul 27, 2005, at 11:07 AM, Federico Tonioni wrote: Hi all! I have just a simple question How can I retrieve all documents in an index by using QueryParser? I thought Query query = QueryParser.parse("*", "contents", new StandardAnalyzer()); might be the solution, but it

Quick newbie question

2005-07-27 Thread Federico Tonioni
Hi all! I have just a simple question How can I retrieve all documents in an index by using QueryParser? I thought Query query = QueryParser.parse("*", "contents", new StandardAnalyzer()); might be the solution, but it's not:) thanks in advance fede -- -

Re: newbie question on Mac OS X

2005-06-29 Thread Peter A. Friend
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

Re: newbie question on Mac OS X

2005-06-29 Thread Paul Libbrecht
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

newbie question on Mac OS X

2005-06-29 Thread Xing Li
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 what it means. Did a good search online on the e

Re: Newbie question

2005-03-31 Thread Otis Gospodnetic
ormat changed, you will need to replace the Jar and rebuild your index(es) with the new Jar. Otis --- Luis Medina <[EMAIL PROTECTED]> 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

Re: Newbie question

2005-03-30 Thread Erik Hatcher
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 rec

Newbie question

2005-03-30 Thread Luis Medina
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? Thanks, Luis - To unsubscribe, e-mail: [EMAIL PROT