opened files

2006-05-12 Thread Daniel Cortes
Hi luceners, I want to know how many file descriptors you can have. My lucene version is 1.4.3. Now I have obtained a lot of Too many open files, I think that the problem is produced by another thing because I work only with to indexs and now it isn't big (10 MB). For this reason I want to ask y

Re: Most used words

2006-04-24 Thread Daniel Cortes
, kapilChhabra Daniel Cortes wrote: Thks for the reply, perhaps to use something like in Luke is the best option. My idea to do is a TAGcloud (see the example in this page) for every group(field group with the id) and every portal (with the id). The problem is that I think do reader.terms() is

Re: Most used words

2006-04-21 Thread Daniel Cortes
ize graphical content on your system. You may use the following script. src/org/getopt/luke/HighFreqTerms.java get it from the luke source code. Regards, kapilChhabra Daniel Cortes wrote: Hi everybody, I have a simple question for you. How do you do to obtain the most used words of and Index? I

Most used words

2006-04-20 Thread Daniel Cortes
Hi everybody, I have a simple question for you. How do you do to obtain the most used words of and Index? In my case I want to obtain the 10 most used words in a group. I thinked in use a TreeSet with all words and their frequencies of hits (whit the restriction of GROUPID). Someone have any

Re: Term Vector Question

2006-03-22 Thread Daniel Cortes
Ok, thks. I read another time my question and it's normally I didn't obtain any reply :D .Excuseme My index contain fields like CONTAIN,GROUPID,USERID,TOOL. My question is how can I do to obtain a list of terms contained in a group of results. For example, I want all the terms in field CONTAIN

Term Vector Question

2006-03-20 Thread Daniel Cortes
Hi everybody, How can I do to obtain Terms of an specific Querry( for example all the terms of a specific group, field " ID_GROUP" ) The only thing that now I think to do is a search and obtain for every hits their term frequency and create a TreeSet with this. I supose that lucene give me anoth

about Filttering

2006-02-23 Thread Daniel Cortes
Hi luceners, I have a problem that I don't know what to do. I want to use ISOLatin1AccentFilter that I found In lucene trunks The code in my analyzer is: public final TokenStream tokenStream(String fieldName, Reader reader) { if (fieldName == null) throw new IllegalArgumentException("fiel

Iterating hits

2006-02-15 Thread Daniel Cortes
Hi lucene users I have a strange error and I don't know to do? My logs say this: java.lang.ArrayIndexOutOfBoundsException: 100 >= 100 at java.util.Vector.elementAt(Vector.java:431) at org.apache.lucene.search.Hits.hitDoc(Hits.java:127) at org.apache.lucene.search.Hits.doc(Hits

My first question in 2006 :D

2006-01-02 Thread Daniel Cortes
Hello everybody and happy new year! My first question about lucene in 2006 is the next: What I have to do with the message "No tvx file". Every night I have to do a complete indexation proces of a forum in phpBB. For example in an indexation of 93 documents (posts in Forum phpBB) i see 4 messag

A simple question

2005-12-14 Thread Daniel Cortes
I have a simple question I'm sure that have a simple response, but now I don't have any idea. If I have something indexed and stored in the field TITLE ("Hello") and I search with Standard analyzer (Hello or hello or h*) in this field. Why don't obtain any hit? PD: Excuseme if it's so obvio

Nobody had this problem ?

2005-11-23 Thread Daniel Cortes
Few days ago I write this question: -Hello, my index works fine but now I activated the last parameter to add function of indexwriter. -IndexWriter.add(Field.UnStored("CONTENTS",content,true)); -Now I obtain frequently the message no tvx file. What can I do? -thks for any replies. nobody replies

Message no tvx file

2005-11-20 Thread Daniel Cortes
Hello, my index works fine but now I activated the last parameter to aad function of indexwriter. writer.add(Field.UnStored("CONTENTS",content,true)); Now I obtain frequently the message no tvx file. What can I do? thks for any replies. ---

Multiple Analyzers

2005-11-17 Thread Daniel Cortes
Hi everybody, I want to know how to create an analyzer whith this and StopFilter and LowerCaseFilter. Exists some example anywhere? thks for replies - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Hits sorted

2005-10-13 Thread Daniel Cortes
Solved, only replace new Sort(new SortField("DATE",SortField.INT, true))); - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Hits sorted

2005-10-13 Thread Daniel Cortes
at org.apache.lucene.search.MultiSearcher.search(MultiSearcher.java:141) at org.apache.lucene.search.Hits.getMoreDocs(Hits.java:64) at org.apache.lucene.search.Hits.(Hits.java:51) at org.apache.lucene.search.Searcher.search(Searcher.java:41) thks in advance. Daniel Cortes

Re: Hits sorted

2005-10-13 Thread Daniel Cortes
pi/org/apache/lucene/search/Searcher .html#search(org.apache.lucene.search.Query,%20org.apache.lucene.search. Sort) Aviran http://www.aviransplace.com -Original Message- From: Daniel Cortes [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 11, 2005 2:58 PM To: java-user@lucene.apache.org Subj

Hits sorted

2005-10-11 Thread Daniel Cortes
Hi everybody, I have a problem when I find all the documents added in the last days in my index. It works good but I want show this results sorted. What I have to do? My code is this: private RangeQuery findINTODates(int days) { Term from; Term to; Calendar calendar =

Multiple Index in other machine

2005-10-05 Thread Daniel Cortes
Hi, I want to know about your experience about indexs used by others machines. I have a multiple index in a Machine, and I search in these indexes with a Multisearcher. Now I new to add another computer to the platform and I don't know well how can I do to have this multiple index accessible f

Problem in close

2005-09-28 Thread Daniel Cortes
Hi everybody, I have a little problem when I close my index writer, but I think that this error not appears everytime in my logs. Someone have any idea about this? java.lang.IndexOutOfBoundsException: Index: 56, Size: 12 at java.util.ArrayList.RangeCheck(ArrayList.java:507) at ja

Close searcher

2005-08-11 Thread Daniel Cortes
Hi everybody, I have several weeks fighting with Multisearcher and now I have a question: When I have to call the method multisearcher.close()? before I have to close all IndexSearchers that are included in multisearcher? This question are produced because, I modify one index (my multisearcher

when close searcher

2005-08-04 Thread Daniel Cortes
I have a Multisearcher, when I have to close multisearcher (multisearcher.close()) and if I do this I have to close every IndexSearcher? In what order I have to do this things? My problem are because, I modify one index (my multisearcher are composed by 6 Index) I don't know if my process to "r

Re: another problem with Multisearcher

2005-07-29 Thread Daniel Cortes
for yours replies Daniel Cortes wrote: It's very strange because the first search works good , but next search not works and give me the error message java.io.IOException: Bad file descriptor at java.io.RandomAccessFile.seek(Native Method)

Re: another problem with Multisearcher

2005-07-28 Thread Daniel Cortes
It's very strange because the first search works good , but next search not works and give me the error message java.io.IOException: Bad file descriptor at java.io.RandomAccessFile.seek(Native Method) at org.apache.lucene.store.FSInputStream.readInternal(FSDirectory.java:415)

another problem with Multisearcher

2005-07-27 Thread Daniel Cortes
I don't know why, but all this problems that I shared with you are produced for my use of multisearcher Now I've obtained this, anyone had this problem sometimes? java.lang.IndexOutOfBoundsException: Index: 43, Size: 12 at java.util.ArrayList.RangeCheck(ArrayList.java:507) at java

Searching in Multiple Index

2005-07-25 Thread Daniel Cortes
I have a problem searching in 6 index lucene at same time, i founded the class MultiSearcher but I think I don't use corretly because it show me this error: java.io.IOException: Bad file descriptor at java.io.RandomAccessFile.seek(Native Method) at org.apache.lucene.store.FSInputSt

Multisearcher problem

2005-07-22 Thread Daniel Cortes
Hi everyboy, the context of the problem I have 6 index created by IndexWriter (1 index has something indexed, but the others are empty (only the segment file)). I Use this to search in all index at same time //This line I don't know what is her function, but I don't think that is the problem

A query in multipleFields

2005-06-30 Thread Daniel Cortes
I have 2 indexs and the structure of the elements in this index are equals what in one index I have a field.Keyword "type" with value "forum" and the other index with a value "blog". How have I do to search in two indexs at same time? How can I restrict the results with only "forum" or "blog" t

About Stemmers and Analyzers

2005-06-09 Thread Daniel Cortes
I have 2 stop words list (the platform works with two language at same time, and it's very normal that the people use in the search)and I've to create a new class that extends Analyzer true? I'm basing on Gerhard Schwarz's work for GermanAnalyzer. How have I to compile all the trunk/contrib/an