Re:Mag Gam

2013-07-20 Thread Mag Gam
http://teca4gso.teca4design.be/xtg/bvafrstv.extbqa Mag Gam 7/21/2013 7:28:20 AM - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org

Is lucene right for us

2008-10-11 Thread Mag Gam
Hello All, At my university we have over 20,000 small file ranging from 20k to 500k per directory and we would like to index them. I was wondering if Lucene is the right tool for this? The information we would like to keep is: filename, filesize, filedate, filecontent. Also, is it possible to run

Lucene Jdbc Directory

2006-10-07 Thread Mag Gam
Hi folks, After some latenight google searching, I came across this interesting website, http://static.compassframework.org/docs/latest/jdbcdirectory.html Is this framework free? Is anyone using this? If so, how is it for newbies to Lucene/Derby/Java? I always wanted to have a lucene index in a

Re: Advantage of putting lucene index in RDBMS

2006-10-05 Thread Mag Gam
I appreciate everyone's responses. I guess the main advantage of putting lucene's index into a RDBMS is for flexibility of queries. Personally, I rather use a RDBMS for results than lucene because I am more experienced with SQL queries than using Java. Does anyone have a simple example of using

Advantage of putting lucene index in RDBMS

2006-10-04 Thread Mag Gam
I have been reading the lists for couple of week now, and I noticed people asking about placing their indexes into a RDBMS. What is the advantage of that? So far lucene was able to solve all my problems, but I am curious how else people are using it (especially with RDBMS). TIA

Using example Lucene 2.0 index class

2006-09-22 Thread Mag Gam
Hi All, I have been using the Lucene 2.0 distro Index to index my files, currently it indexes filepath and contents. I want to index, lastModified() (Returns the time that the file denoted by this abstract pathname was last modified.), and file length, length(). Can someone please show me how to

Re: Example question

2006-09-17 Thread Mag Gam
Sorry for the confusion all. The code i am talking about is, the lucene-2.0 API Document doc = hits.doc(i); String path = doc.get("path"); lucene-2.0.0/src/demo/org/apache/lucene/demo/SearchFiles.java (line 147) I am not sure where they are getting the "path". How are they inserting it into t

Re: Example question

2006-09-16 Thread Mag Gam
7;ll see the document handler mentioned in the LIA build.xml file as well as the code for it in the code download. Erik On Sep 16, 2006, at 12:32 PM, Mag Gam wrote: > While looking at the example's Index and Search code, I have > noticed in the > search, there is a : > &

Example question

2006-09-16 Thread Mag Gam
While looking at the example's Index and Search code, I have noticed in the search, there is a : out.println (doc.get ("path")); I am not sure how is "path" is getting into the index. If you take a look at the Index code, there is no mention of "path". My question are: what is this path (I know

Re: getCurrentVersion question

2006-09-12 Thread Mag Gam
dex that includes the creation date, the user name of the creating user, and various other tidbits. This gets updated on incremental updates to the index as well. Easily done and makes it easy to query. On 9/9/06, Mag Gam <[EMAIL PROTECTED]> wrote: > > Hi All, > > I am trying to get t

getCurrentVersion question

2006-09-09 Thread Mag Gam
Hi All, I am trying to get the exact date when my index was created. I am assuming getCurrentVersion() is the right way of doing it. However, I am getting a result something like this: 1157817833085 According to the API reference, "Reads version number from segments files. The version number is

Re: Highligher Example

2006-09-07 Thread Mag Gam
u are asking for these document types to be highlighted or just a plain text representation of them, though. Erik On Sep 7, 2006, at 6:37 PM, Mag Gam wrote: > Hey > > Anyone have a search result highlighter example? > > I have various doc, PDFs, DOC, TXT,

Highligher Example

2006-09-07 Thread Mag Gam
Hey Anyone have a search result highlighter example? I have various doc, PDFs, DOC, TXT, PPT, and I would like to show a highlight, similar to how google does it... tia

Re: Sort by Date

2006-08-29 Thread Mag Gam
"Index the date". Do you mean, index date, or the document date? Could this be in a LIA book? On 8/29/06, Erik Hatcher <[EMAIL PROTECTED]> wrote: On Aug 29, 2006, at 11:50 AM, Mag Gam wrote: > Is it possible to sort results by date of the document? Sure, check out the

Sort by Date

2006-08-29 Thread Mag Gam
Is it possible to sort results by date of the document?

Re: Any 2.0 examples yet?

2006-08-27 Thread Mag Gam
Thanks for the replies. I should of waited a little bit longer for the Genie book (LIA) :-) On 8/27/06, Michael McCandless <[EMAIL PROTECTED]> wrote: Erik Hatcher wrote: > Also let me also emphasize the test cases that are built into the Lucene > codebase itself. These are premium *always w

Any 2.0 examples yet?

2006-08-27 Thread Mag Gam
Hi All, While searching the net for 2.0 API examples, I noticed there aren't that many. The only example I have seen is the stock example. Are there any tutorials or example codes out there? Tia

Index Stat Functions

2006-08-25 Thread Mag Gam
Hi All, I am trying to get some stats on my Index such as: 1) When it was created 2) Size in MB of the index 3) If I can get the size, date of each file in the index. For example: I index 100 files, is it possible for me to get their name, size, and date when the last modification of that file (

Document Get question

2006-08-24 Thread Mag Gam
Is it possible to get Document Name, instead of its entire path? Currently, i have something like this: out.println (doc.get ("path")); // Which gives me /documents/file.txt Is it possible to get "file.txt"

Re: NoClassDefFoundError

2006-08-24 Thread Mag Gam
2006, at 7:58 AM, Mag Gam wrote: > Hi All, > > I keep getting this error in my tomcatlogs > > > Aug 24, 2006 7:44:09 AM org.apache.catalina.core.ApplicationContext > log > INFO: Marking servlet search as unavailable > Aug 24, 2006 7:44:09 AM > org.apache.catalina.core.

NoClassDefFoundError

2006-08-24 Thread Mag Gam
Hi All, I keep getting this error in my tomcatlogs Aug 24, 2006 7:44:09 AM org.apache.catalina.core.ApplicationContext log INFO: Marking servlet search as unavailable Aug 24, 2006 7:44:09 AM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Allocate exception for servlet search java.

Re: Query parser.parse (line);

2006-08-23 Thread Mag Gam
Very good advice! With the previous code you gave me, I was able to get everything for 2.0! good call! On 8/23/06, Erik Hatcher <[EMAIL PROTECTED]> wrote: On Aug 23, 2006, at 8:45 PM, Mag Gam wrote: > I am looking at this page > http://today.java.net/pub/a/toda

Re: Query parser.parse (line);

2006-08-23 Thread Mag Gam
On Aug 23, 2006, at 7:24 PM, Mag Gam wrote: > I am trying to do a Query parse line in a doGET method (J2EE). > > I keep getting this type of message; > unreported exception org.apache.lucene.queryParser.ParseException; > must be > caught or declared to be thrown > > Any

Query parser.parse (line);

2006-08-23 Thread Mag Gam
Hi All, I am trying to do a Query parse line in a doGET method (J2EE). I keep getting this type of message; unreported exception org.apache.lucene.queryParser.ParseException; must be caught or declared to be thrown Anyone have an example of a Class being thrown an exception? I would kindly app

Re: Tomcat Simple Example

2006-08-23 Thread Mag Gam
Thanks for the response Erik! You make a good point. I have the 'Lucene in Action' book, and it has some good ways of doing things...its at work now (I am away for 3 weeks), thats the only bad thing :-( On 8/23/06, Erik Hatcher <[EMAIL PROTECTED]> wrote: On Aug 23, 2006, at

Re: Tomcat Simple Example

2006-08-23 Thread Mag Gam
Thanks! So, when working with Tomcat, for a simple Index + Search, it is recommend to use JSP over servlets? any advice? On 8/23/06, Chris Hostetter <[EMAIL PROTECTED]> wrote: : > Does anyone have a simple Tomcat search/result example? : > I have 4 text files, : > i would like to index.

Tomcat Simple Example

2006-08-22 Thread Mag Gam
Hi All, Does anyone have a simple Tomcat search/result example? I have 4 text files, i would like to index. Thanks

correct classpath

2006-08-22 Thread Mag Gam
Hi All, I am getting into Java + Lucene. To compile a Lucene program CreateIndex.java public class CreateIndex { // usage: CreateIndex index-directory public static void main(String[] args) throws Exception { String indexPath = args[0]; IndexWriter writer; // An index is created by o

Re: Lucene vs SQL database

2005-09-29 Thread Mag Gam
Check this link outI am trying to do the same http://marc.theaimsgroup.com/?l=lucene-user&m=100556272928584&w=2 I am using Apache Derby and trying to integrate that with lucene Its tough to find a very very simple example for this online. goodluck On 9/29/05, Erik Hatcher <[EMAIL PRO

Re: May I use a mixture of indexing methods altogether?

2005-09-26 Thread Mag Gam
t to store them elsewhere, you need > to implement your own Directory. > > Otis > > --- Mag Gam <[EMAIL PROTECTED]> wrote: > > > Otis: > > > > Thanks for the good and clean explanation! I will first try this out, > > and > > let you know how that goes.

Re: May I use a mixture of indexing methods altogether?

2005-09-26 Thread Mag Gam
ike using JDBC > to run SELECTs, converting results to Lucene Documents, and index them > with IndexWriter. > > There are also tools like Compass and DBSight that may help. > > Otis > > > --- Mag Gam <[EMAIL PROTECTED]> wrote: > > > Otis: > > > > How

Re: May I use a mixture of indexing methods altogether?

2005-09-26 Thread Mag Gam
Otis: How do you do that? Got a quick and simple example? We have been looking for an example for the last 3-4 months, but no luck On 9/25/05, Otis Gospodnetic <[EMAIL PROTECTED]> wrote: > > > Is it possible to do that in a database instead of a flat text file? > > Huh? > You mean is it po

Re: Can Lucene do this?

2005-09-26 Thread Mag Gam
Maik: Thanks for the reply. I was going to go that way, but it involves a lot of work, since my text file is about 3 meg of information. However, I am looking into integrating my data with Derby plus Lucene. TIA! On 9/26/05, Maik Schreiber <[EMAIL PROTECTED]> wrote: > > > Can I use lucene to

Can Lucene do this?

2005-09-25 Thread Mag Gam
I have a document called "foo.txt" and it has a LOT of information on, various computer tips, programming code, phone numbers, addresses, etc..etc... The document is set up something like this foo.txt- Phone number for Pizza: 1800-999- To cook rice: Put rice o

Re: May I use a mixture of indexing methods altogether?

2005-09-25 Thread Mag Gam
Is it possible to do that in a database instead of a flat text file? On 9/24/05, Ahmet Aksoy <[EMAIL PROTECTED]> wrote: > > Thank you. That was what I meant! > I'll try it as soon as possible. > > Otis Gospodnetic wrote: > > >If I understand you correctly, then yes, you can index documents with >

Re: Lucene database bindings

2005-09-17 Thread Mag Gam
Mark: VERY VERY good post! Please publish this doc and example. On 9/17/05, Chris Lu <[EMAIL PROTECTED]> wrote: > > On 9/17/05, markharw00d <[EMAIL PROTECTED]> wrote: > > Mag Gam wrote: > > > > >Does your example store the index in the derby db or so

Re: Lucene database bindings

2005-09-17 Thread Mag Gam
Does your example store the index in the derby db or somewhere else? I was thinking of indexing a table in a seperate column. On 9/16/05, markharw00d <[EMAIL PROTECTED]> wrote: > > I know there have been some posts discussing how to integrate Lucene > with Derby recently. > > I've added an ex

Re: Lucene database bindings

2005-09-17 Thread Mag Gam
Mark: Thanks for looking at this.I will try it out! On 9/16/05, markharw00d <[EMAIL PROTECTED]> wrote: > > I know there have been some posts discussing how to integrate Lucene > with Derby recently. > > I've added an example project that works with both HSQLDB and Derby > here: http://issues.a

Re: Is Lucene for Me?

2005-09-14 Thread Mag Gam
How did you integrate Lucene into MS-SQL server?Are there any plans to integrate Lucene into databases like Apache Derby? Has anyone been able to integrate them together? Are there any docs we should look at to get this done? On 9/14/05, Peter Veentjer - Anchor Men <[EMAIL PROTECTED]> wrote:

Lucene and Derby

2005-09-10 Thread Mag Gam
Has anyone been able to integrate Lucene with Apache Derby? I am in need of Full text indexing for my database.

Re: Integrate Lucene with Derby

2005-08-16 Thread Mag Gam
nfidence that I could integrate Lucene with Derby > and possibly Jetty server, to make a complete java based solution for > a hobby search project. > > I will post more regarding this integration as I go along. > > Cheers, > > Jian > www.jhsystems.net > > On

Re: Integrate Lucene with Derby

2005-08-13 Thread Mag Gam
ting Derby with Lucene. > > May we should post our progress for the integration and various > schemes of integration in this thread or somewhere else? > > Thanks, > > Jian > > On 8/13/05, Mag Gam <[EMAIL PROTECTED]> wrote: > > Are there

Integrate Lucene with Derby

2005-08-13 Thread Mag Gam
Are there any documens or plans to integrate Lucene With Apache Derby (database)? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Derby + Lucene

2005-07-27 Thread Mag Gam
Anyone here have any luck with integration of Apache Derby and Lucene? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]