Re: TooManyClauses by wildcard queries

2009-09-10 Thread Patricio Galeas
card queries, if needed. - Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de -Original Message- From: Patricio Galeas [mailto:gal...@prometa.de] Sent: Thursday, September 10, 2009 10:41 AM To: java-user@lucene.apache.org Su

TooManyClauses by wildcard queries

2009-09-10 Thread Patricio Galeas
Hi all, I get the TooManyClauses exception by some wildcard queries like : (a) de* (b) country AND de* (c) ma?s* AND de* I'm not sure how to apply the solution proposed in LuceneFAQ for the case of WildcardQueries like the examples above. Can you confirm if it is the right procedure? 1. Over

TermPositionVector.indexesOf()

2007-10-04 Thread Patricio Galeas
Hello, I'm using the following method to obtain the position of some terms in a document: int[] indexOfTerms = TermPositionVector.indexesOf(String[] terms, int start, int len); Should I parse the strings contained in "terms" before I apply indexOf()? Thank you in advance Patricio -- Ist Ihr

Lucene Index Size ...

2007-02-04 Thread Patricio Galeas
Hello, Where can I find some information about index size increments by using TermVector.WITH_POSITIONS? Thank You Pat -- "Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ... Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail?ac=OM.GX.GX003K11713T4783a -

adding term information to Index

2006-06-08 Thread Patricio Galeas
Hello, I try to use Lucene to make some experiments with the distribution of words in documents. Using the TermPositionVector, one can compute some statistics about word positions (mean, standard deviation, etc.). It is possible to store such statistical values directly in the Lucene index? For

AW: Java heap space ...after index process

2005-10-26 Thread Patricio Galeas
ess is finished or do you mean it happens on one of the documents you are extracting text from? Are you closing the PDDocument objects when you are done with them? What heap size are you using and have you tried increasing it? What version of PDFBox? Ben Patricio Galeas wrote: >Hello Al

Java heap space ...after index process

2005-10-26 Thread Patricio Galeas
Hello All, I try to index some PDF documents using PDFBox. It works apparent normally, but when the index process ends, I get the following message: Exception in thread "main" java.lang.OutOfMemoryError: Java heap space Do you have some idea? Thanks Patricio ---

Re: Lucene in Action : example code -> document-parsing framework ...

2005-10-17 Thread Patricio Galeas
ge- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 17 October 2005 16:09 To: java-user@lucene.apache.org; [EMAIL PROTECTED] Subject: Re: Lucene in Action : example code -> document-parsing framework ... Do you have the log4j.properties file in the classpath? -Original Message--

Lucene in Action : example code -> document-parsing framework ...

2005-10-17 Thread Patricio Galeas
Hi ALL, I try to run the an example of the "Lucene in Action" book : Chapter 7: Parsing Common Document Formats: lia.handlingtypes.framework.FileIndexer I have downloaded all the source code from www.manning.com/hatcher2 and create a java project in Lucene 3.1. I become the following error mess

Example ....Lucene with Java Server Pages?

2005-09-21 Thread Patricio Galeas
Hello, I search for a JSP examples of a simple search application with Lucene. I try to execute the lucene search as a .jsp file but it doesn't work. Do you know where can I found information about this topic Thank You - To uns

saving additional data in the index .....????

2005-08-17 Thread Patricio Galeas
Hi All, I have indexed a document collection using the option “WITH_POSITIONS”: doc.add(new Field("contents", new FileReader(f), Field.TermVector.WITH_POSITIONS)); ...to get the positions in which each of the terms is found: wordPositionsVector = termPositionVector.getTermPositions(wordIndex) ;

AW: Terms & Postion from Hits ...

2005-04-12 Thread Patricio Galeas
-Ursprüngliche Nachricht- Von: Erik Hatcher [mailto:[EMAIL PROTECTED] Gesendet: Montag, 11. April 2005 15:05 An: java-user@lucene.apache.org Betreff: Re: Terms & Postion from Hits ... On Apr 10, 2005, at 11:52 AM, Patricio Galeas wrote: > Hello, > I am new with Lucene. I have following problem

Terms & Postion from Hits ...

2005-04-11 Thread Patricio Galeas
Hello, I am new with Lucene. I have following problem. When I execute a search I receive the list of document Hits. I get without problem the content of the documents too: for (int i = 0; i < hits.length(); i++) { Document doc = hits.doc(i); System.out.println(doc.get("content")); } N