Re: Can I invert the inverted index?

2011-07-06 Thread Gabriele Kahlout
>From you patch I see TermFreqVector which provides the information I want. I also found FieldInvertState.getLength() which seems to be exactly what I want. I'm after the word count (sum of tf for every term in the doc). I'm just not sure whether FieldInvertState.getLength() returns just the numb

Re: Can I invert the inverted index?

2011-07-05 Thread Trey Grainger
Gabriele, I created a patch that does this about a year ago. See https://issues.apache.org/jira/browse/SOLR-1837. It was written for Solr 1.4 and is based upon the Document Reconstructor in Luke. The patch adds a link to the main solr admin page to a docinspector page which will reconstruct the

Re: Can I invert the inverted index?

2011-07-05 Thread Erick Erickson
onent may >> fit >> your needs ? >> >> http://wiki.apache.org/solr/TermVectorComponent >> http://wiki.apache.org/solr/TermVectorComponentExampleEnabled >> >> Ludovic. >> >> - >> Jouve >> France. >> -- >> View this message in context:

Re: Can I invert the inverted index?

2011-07-05 Thread Rob Casson
sounds like the Luke request handler will get what you're after: http://wiki.apache.org/solr/LukeRequestHandler http://wiki.apache.org/solr/LukeRequestHandler#id cheers, rob On Tue, Jul 5, 2011 at 3:59 PM, Gabriele Kahlout wrote: > Hello, > > With an inverted index the term is the key

Re: Can I invert the inverted index?

2011-07-05 Thread Gabriele Kahlout
rg/solr/TermVectorComponent > http://wiki.apache.org/solr/TermVectorComponentExampleEnabled > > Ludovic. > > - > Jouve > France. > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Can-I-invert-the-inverted-index-tp3142206p3142269.html > Sent from the

Re: Can I invert the inverted index?

2011-07-05 Thread lboutros
ucene.472066.n3.nabble.com/Can-I-invert-the-inverted-index-tp3142206p3142269.html Sent from the Solr - User mailing list archive at Nabble.com.

Can I invert the inverted index?

2011-07-05 Thread Gabriele Kahlout
Hello, With an inverted index the term is the key, and the documents are the values. Is it still however possible that given a document id I get the terms indexed for that document? -- Regards, K. Gabriele --- unchanged since 20/9/10 --- P.S. If the subject contains "[LON]" or the addressee ack