Erick Erickson wrote:
>
> Sure, just define it in the same scope as you want to refer to it.
> Of course, that tells you nothing ...
>
> Java variables go out of scope when the last '}' *at the same level*
> is passed. For intance:
>
> {
>string s1;
>{
> string s2;
>} // s2 i
Grant Ingersoll-6 wrote:
>
> When you are indexing the file and adding the Document, you will need
> to parse out your filename per your regular expression, and then
> create the appropriate field:
>
> Document doc = new Document()
> String cat = getCategoryFromFileName(inputFileName)
> doc
I've been using the Lucene demo from
http://lucene.apache.org/java/2_1_0/demo.html
I have a set of documents
with filenames that give a good indication of content.
A filename of 12 digits (I think this is [0-9]{12} as a regular
expression) with the extension html is a troubleshooting guide, the
fields, analyzer).
Regards,
Tarjei
On 11/15/05, Manoj Kr. Sheoran <[EMAIL PROTECTED]> wrote:
>
> Hi,
> Is there any way to search on multiple columns.
>
> i.e.
> Query qry = QueryParser.parse(line,"contents",anlz);
>
> In above statement I can search on cont
Hi,
Is there any way to search on multiple columns.
i.e.
Query qry = QueryParser.parse(line,"contents",anlz);
In above statement I can search on contents field only but I would like to
search data on two Fields at a time. Is there any way to do it ?
Regards,
Manoj
- Original Message
You should check your logs on server side(on tomcat). I am sure some
exception is generated over there.
--Manoj
- Original Message -
From: "Gaston" <[EMAIL PROTECTED]>
To:
Sent: Saturday, November 05, 2005 10:51 PM
Subject: lucene and jsp
> Hallo,
>
> I know my topic is a little bit
It depends on your requirement. If you want the realtime searching then you
should go to your first approach otherwiser second is fine.
--Manoj
- Original Message -
From: "Victor Lee" <[EMAIL PROTECTED]>
To:
Sent: Monday, November 07, 2005 7:21 AM
Subject: Re: Best Way To Index Databas
Hi Hoss and All,
I am happy with your suggestion.
Does it possible to retrive the data order/sort by they were inserted in the
index but without putting any extra column in the document?
Regards,
Manoj
- Original Message -
From: "Chris Hostetter" <[EMAIL PROTECTED]>
To:
Sent: Friday, Nov
you need to sort by into a single field if
> possible, and try to do so numerically rather than as Strings.
>
> Erik
>
>
>
> On 4 Nov 2005, at 02:35, Manoj Kr. Sheoran wrote:
>
> > Hi Chris,
> > Thanks for sharing your views with us. Is sorting works p
RAM amout is not enough or it's
simple take help of o/s specific pages?
Regards,
Manoj
- Original Message -
From: "Otis Gospodnetic" <[EMAIL PROTECTED]>
To:
Cc: "Manoj Kr. Sheoran" <[EMAIL PROTECTED]>
Sent: Friday, November 04, 2005 1:12 PM
Subject:
conds for the first
> sort. And subseconds with cache.
>
> Chris Lu
> ---
> Full-Text Search on Any Database
> http://www.dbsight.net
>
> On 11/3/05, Manoj Kr. Sheoran <[EMAIL PROTECTED]> wrote:
> > Hi,
> > I am having 1,00,000 doc
Hi,
I am having 1,00,000 documents in a index but in near future it will be 3
million and more. I am somewhat concerned about the searhing process with
this much number of document. I am giving order on some fields of documents.
Could anybody tell be the expected result from lucene engine wit
12 matches
Mail list logo