Re: LSI

2011-08-29 Thread Grant Ingersoll
It doesn't look too active, but you might check out: https://github.com/algoriffic/lsa4solr Otherwise, Mahout has some of the basis for it but you would have to do some work. On Aug 29, 2011, at 9:55 AM, zarrinkalam wrote: > hi, > > I want to use LSI for clustring ducuments indexed with luc

Re: No subsearcher in Lucene 3.3?

2011-08-29 Thread Devon H. O'Dell
2011/8/29 Uwe Schindler : > Why do you need to know the subreader? If you want to get the document's > stored fields, use the MultiReader. > > If you really want to know the subreader, use this: > http://lucene.apache.org/java/3_3_0/api/core/org/apache/lucene/util/ReaderUtil.html#subReader(int, >

RE: No subsearcher in Lucene 3.3?

2011-08-29 Thread Uwe Schindler
Why do you need to know the subreader? If you want to get the document's stored fields, use the MultiReader. If you really want to know the subreader, use this: http://lucene.apache.org/java/3_3_0/api/core/org/apache/lucene/util/ReaderUtil.html#subReader(int, org.apache.lucene.index.IndexReader)

Re: No subsearcher in Lucene 3.3?

2011-08-29 Thread Devon H. O'Dell
2011/8/29 Joseph MarkAnthony : > Greetings, >    In the past (Lucene version 2.x) I successfully used > MultiSearcher.subsearcher() to identify the searchable within a MultiSearcher > to which a hit belonged. > > In moving to Lucene 3.3, MultiSearcher is now deprecated, and I am trying to > crea

No subsearcher in Lucene 3.3?

2011-08-29 Thread Joseph MarkAnthony
Greetings, In the past (Lucene version 2.x) I successfully used MultiSearcher.subsearcher() to identify the searchable within a MultiSearcher to which a hit belonged. In moving to Lucene 3.3, MultiSearcher is now deprecated, and I am trying to create a standard IndexSearcher over a MultiRea

RE: Possible to use span queries to avoid stepping over null index positions

2011-08-29 Thread ikoelliker
I don’t think I can use span-term(null_1). That is not a specific value I indexed, but a value put into the index when we call token.setPositionIncrement(2) on the first token in the token stream, essentially skipping a position. -Original Message- From: Trejkaz [mailto:trej...@tryptico

Re: LSI

2011-08-29 Thread Paul Libbrecht
Zarrinkalam, have a look at semanticvectors. paul Le 29 août 2011 à 15:55, zarrinkalam a écrit : > hi, > > I want to use LSI for clustring ducuments indexed with lucene, I dont know > how, plz help me > > thanks, - To uns

LSI

2011-08-29 Thread zarrinkalam
hi, I want to use LSI for clustring ducuments indexed with lucene, I dont know how, plz help me thanks,

Re: Indexwriter()

2011-08-29 Thread Erick Erickson
OK, this sounds like a basic classpath issue, see: http://download.oracle.com/javase/1.3/docs/tooldocs/win32/classpath.html And you still haven't said what your problem is. ClassNotFound? Compilation issues? Exceptions thrown? But you've really got to back up and spend some time understanding how

Re: Indexwriter()

2011-08-29 Thread Josh Am
oh, I'm so sorry. you are right, I'm a newcommer! here I explained all things I did! I want to index some txt files in Lucene, for this means I copied a Index Sourcecode, here is the code: * import* java.io.File; * import* java.io.FileReader; * import* java.io.IOException; * import* *org.apa

Re: Indexwriter()

2011-08-29 Thread Erick Erickson
First, please review: http://wiki.apache.org/solr/UsingMailingLists There is nothing here at all that will allow anyone to help you with your problem, you have to tell us what you've done, what you expect, and what actually happened. Best Erick On Mon, Aug 29, 2011 at 1:58 AM, Josh Am wrote: >

RE: Index Writer()

2011-08-29 Thread Ralf Heyde
Hi Josh, Can you paste your sourcecode AND explain what are you trying to do? Ralf From: Josh Am [mailto:josh22...@gmail.com] Sent: Montag, 29. August 2011 12:39 To: java-user@lucene.apache.org Subject: Index Writer() Dear friends Hi!! I used Lucene to index some documents but unfo

Index Writer()

2011-08-29 Thread Josh Am
Dear friends Hi!! I used Lucene to index some documents but unfortunetly I am a begginer and there is a bug!! it is here! Exception in thread "main" *java.lang.NullPointerException* at SimpleFileIndexer.indexDirectory( *SimpleFileIndexer.java:78*) at SimpleFileIndexer.index( *SimpleFileIndexer.

Indexwriter()

2011-08-29 Thread Josh Am
Dear friends Hi!! I used Lucene to index some documents but unfortunetly I am a begginer and there is a bug!! it is here! what should I do? thanyou all. - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For addit