Re: Dynamic ranking based on search term

2012-11-28 Thread Floyd Wu
Hi Upayavira Let me explain what I need in the other words. The list is the result that after analyzing log. Key value pairs list actually means that when search term is java, then boosting these documents(doc1,doc2,doc5). for example java, doc1,doc2,doc5 Any ideas? Thanks. 2012/11/28

Re: Dynamic ranking based on search term

2012-11-28 Thread Upayavira
Isn't this what Solr/Lucene are designed to do?? On indexing a document, Lucene creates an inverted index, mapping terms back to their containing documents. The data you have is already inverted. I'd suggest uninverting it and then hand it to Solr in that format, thus: doc1: java doc2: java doc4