What do I have to do with files in the sandbox?

2006-08-03 Thread John john
Hello, I'm pretty sure my question is stupid but i'm gonna ask you anyway :) I'd like to use analyzers from the sandbox but I don't know what I have to do with files ? Do i have to extract the lucene jar file and add files I want to use ? or something else? Do you have an exemple with t

Search Numerical Field

2006-07-28 Thread John john
Hello, I tried to add a field like that field = new Field("number", "1", Field.Store.YES,Field.Index.UN_TOKENIZED); so i should be indexed and to analyzed? my writer is writer = new IndexWriter(INDEX_DIR, new StandardAnalyzer(), true); but according to the javadoc it should be alright

Web search demo does not work

2006-07-26 Thread John john
Hello, The web search demo does not work in lucene 2.0 because it seems that the files results.jsp use old methods. Is there a patch or something to fix this? or a file which is ok with lucene 2.0? I'd like to make some tests and I'm not familiar with JSP Thanks

RE : Re: index articles with groups

2006-07-26 Thread John john
Unfortunately this is not that easy. Because I must be able to retrieve only one article and if i index all the content in one document then all the document will be retrieved instead of the single article. Chris Hostetter <[EMAIL PROTECTED]> a écrit : : Then if I search for a word which is pr

RE : Re: index articles with groups

2006-07-24 Thread John john
PROTECTED]> a écrit : On Mon, 2006-07-24 at 20:49 +0200, John john wrote: > article1, article2 and article3 are in the group1 > article4 and article5 are in the group2 > > Then if I search for a word which is present in article1 and article > 2, i'd like to retrieve onl

index articles with groups

2006-07-24 Thread John john
Hello, I'm pretty new to lucene so I hope my question is not stupid :) I'd like to index articles but I want them to be in a group. such as: article1, article2 and article3 are in the group1 article4 and article5 are in the group2 Then if I search for a word which is present in artic