Re: Lucene search question

2009-01-19 Thread Anshum
t > tell me 'no hits'. > > Please let me know this for each of the queries above! > > Thanks! > -- > View this message in context: > http://www.nabble.com/Lucene-search-question-tp21537515p21537515.html > Sent from the Lucene - Java Users mailing list archive at N

Lucene search question

2009-01-18 Thread fell
result or would it tell me 'no hits'. Please let me know this for each of the queries above! Thanks! -- View this message in context: http://www.nabble.com/Lucene-search-question-tp21537515p21537515.html Sent from the Lucene - Java Users mailing list archive at

Re: Lucene search question

2007-11-13 Thread Grant Ingersoll
On Nov 13, 2007, at 11:59 AM, Steven D. Majewski wrote: Lucene is great at finding documents, but not quite as good at finding things IN documents. The index contains pointers to the terms, but they are pointers to a token in the parsed token stream, so to find a character index into a file

Re: Lucene search question

2007-11-13 Thread Steven D. Majewski
On Nov 13, 2007, at 7:21 AM, Cláudio Fernandes wrote: Hello all, I don't know if this is a somehow naive question, but here we go: Does Lucene support index by sections? Like having a text document with three sections divided by XML tags indexed in a way we could do a search by work and s

Re: Lucene search question

2007-11-13 Thread Erick Erickson
If you only have a maximum of a few sections, then indexing as different fields should work fine. If you have a big upper limit you might need to do something like index all the data in one field with a special marker (e.g. $$$) between sections, then use termdocs/termenum on the result set to

Re: Lucene search question

2007-11-13 Thread Cláudio Fernandes
Hi, On Tue, 2007-11-13 at 07:32 -0500, Grant Ingersoll wrote: > Yes, your application can do this using Lucene. Lucene is a low level > search enabling library, it is up to your application to give meaning > to what you put in it. > > One way doing what you want is to give each section its o

Re: Lucene search question

2007-11-13 Thread Grant Ingersoll
Yes, your application can do this using Lucene. Lucene is a low level search enabling library, it is up to your application to give meaning to what you put in it. One way doing what you want is to give each section its own Field for any given document. Cheers, Grant On Nov 13, 2007, at 7

RE: Lucene search question

2007-11-13 Thread Chhabra, Kapil
x/lucene-java-user/200605.mbox/[EMAIL PROTECTED] Regards, kapilChhabra -Original Message- From: Cláudio Fernandes [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 13, 2007 5:52 PM To: java-user@lucene.apache.org Cc: cff Subject: Lucene search question Hello all, I don't know if th

Lucene search question

2007-11-13 Thread Cláudio Fernandes
Hello all, I don't know if this is a somehow naive question, but here we go: Does Lucene support index by sections? Like having a text document with three sections divided by XML tags indexed in a way we could do a search by work and section. Does Lucene itself support this kind of indexing or s