Trying to create NEAR option in QueryParser -- ideas/help

2002-01-12 Thread carlson
Hi, I am trying to implement a NEAR option in the QueryParser.jj. First I have to say, Brian Goetz has done an awesome job putting this together. I rely on it all the time, and it's solid and very complex especially if you don't know JavaCC Now to my question. Overview of how I think the Que

Re: I want to search on BOTH --> (1) "XML" data and (2) "Text" data.

2002-01-12 Thread Harun Altay
I am very new in Lucene. Your comments are really helpfull for me. Thank you. Harun. - Original Message - From: <[EMAIL PROTECTED]> To: "Lucene Users List" <[EMAIL PROTECTED]> Sent: Saturday, January 12, 2002 5:41 PM Subject: Re: I want to search on BOTH --> (1) "XML" data and (2) "Text"

Re: I want to search on BOTH --> (1) "XML" data and (2) "Text" data.

2002-01-12 Thread carlson
Hi, I don't know how much you know about Lucene, but Otis is exactly right. You can create two (or more) different Lucene Documents and retrieve the information you want and put it into fields. I am in the midst of creating a Document Repository that I haven't gotten up yet. Here are some link

Re: I want to search on BOTH --> (1) "XML" data and (2) "Text" data.

2002-01-12 Thread Otis Gospodnetic
Hello, You could write an XML parser (see http://xml.apache.org/ for some XML tools) and store XML elements as Fields in Lucene Documents. To search for 'Hello' and 'Hello Mr. President!' you can store the whole article body as a Text (or maybe UnStored) Field. You can also look on www.mail-archi

I want to search on BOTH --> (1) "XML" data and (2) "Text" data.

2002-01-12 Thread Harun Altay
Hello Friends, I want to search on BOTH --> (1) "XML" data and (2) "Text" data. (1). "Text Data" --> mostly consist of HTML pages, residing on the server... example : hundreds of HTML, TXT file, etc... (2). "XML Data" --> for example, Articles that was stored in XML format, lets say like thi

Re: about parse method

2002-01-12 Thread carlson
Hi, I don't fully understand what you are looking to do, but here is one idea. One technique that the Lucene demo uses is to store the path in the index (it can be indexed or not). So, when you create the document, have one of the fields in the document be the path. Fields in a Lucene document

about parse method

2002-01-12 Thread Parag Dharmadhikari
Hi all, What are the different fields that one can use in Parse method of QueryParser method. This is because can I use this Parse method to search the filenames instead of searching the contents of file. regards parag -- To unsubscribe, e-mail: For additional comm

RE: About indexing

2002-01-12 Thread Parag Dharmadhikari
Thanx Otis, My question is I will create only sigle index from root directory having subdirectories and files. Now can I use this single index for selective searching i.e. I will pass any subdirectory path for the created index so that I can search on those files only which resides in the supplie