How to find common terms between a input string and an indexed document?

2014-11-06 Thread Amir H. Jadidinejad
Hi,I have a Lucene index contains a collection of documents. For an input string segment (s) and a specific document in the index (d), I want to get the number of common terms between s and d.After searching the web, I found that I can extract all terms of d using "IndexReader.getTermVector" an

How to find common terms between a input string and an indexed document?

2014-11-06 Thread Amir H. Jadidinejad
Hi,I have a Lucene index contains a collection of documents. For an input string segment (s) and a specific document in the index (d), I want to get the number of common terms between s and d.After searching the web, I found that I can extract all terms of d using "IndexReader.getTermVector" and

Re: Spatial Search

2012-07-09 Thread Amir
Thanks heaps for the quick reply David... Computing the distance on the client is not an issue, however I was wondering as you are already computing the distances, there is any caching mechanism that I could retrieve the computed values. I looked into CachedDistanceValueSource class etc, but appar

Re: Spatial Search

2012-07-09 Thread amir
n I combine the geoquery with another query through booleanquery. I do really appreciate if you could give me a little help to get the distance value and sort the items based on their distance Amir -- View this message in context: http://lucene.472066.n3.nabble.com/Spatial-Search-tp3623494p3993824

Re: Doc-Doc Similarity Matrix Construction

2009-06-29 Thread Amir Hossein Jadidinejad
It's exactly my question: http://www.mail-archive.com/lucene-u...@jakarta.apache.org/msg04915.html --- On Mon, 6/29/09, Amir Hossein Jadidinejad wrote: From: Amir Hossein Jadidinejad Subject: Doc-Doc Similarity Matrix Construction To: java-user@lucene.apache.org Date: Monday, June 29, 20

Doc-Doc Similarity Matrix Construction

2009-06-29 Thread Amir Hossein Jadidinejad
Hi, It's my first experiment with Lucene. Please help me. I'm going to index a set of documents and create a feature vector for each of them. This vector contains all terms belong to the document that weight using TFIDF. After that I want to compute the cosine similarity between all documents and

A simple Vector Space Model and TFIDF usage

2009-06-29 Thread Amir Hossein Jadidinejad
Hi, It's my first experiment with Lucene. Please help me. I'm going to index a set of documents and create a feature vector for each of them. This vector contains all terms belong to the document that weight using TFIDF. After that I want to compute the cosine similarity between all documents and

Re: Controlled Indexing -New Feature

2008-11-28 Thread Amir Hossein Jadidinejad
rds that doesn't match that Set. Take a look at StopFilter and StandardAnalyzer ;) On Fri, Nov 28, 2008 at 4:38 PM, Amir Hossein Jadidinejad < [EMAIL PROTECTED]> wrote: > Hi, > I'm going to index some documents only with known phrases. Let me describe: > Suppose

Controlled Indexing -New Feature

2008-11-28 Thread Amir Hossein Jadidinejad
Hi, I'm going to index some documents only with known phrases. Let me describe: Suppose that I have a controlled vocabulary(a list of some known phrases/words). I intend to index ONLY these phrases within my documents and have a retrieval model (for example simple VS-TF.IDF). In way, each index

controlled indexing with Lucene

2008-11-28 Thread Amir Hossein Jadidinejad
Hi, I'm going to index some documents only with known phrases. Let me describe: Suppose that I have a controlled vocabulary of phrases (A list of some candidate phrases). I intend to index ONLY these phrases within my documents and have a retrieval model (for example simple VS-TF.IDF) that each

problem with eclipse and lucene 1.9.1

2006-05-17 Thread Amir Hosein Jadidi Nejad
cur : "specified buildfile does not contain a javac task". is anybody can help me ??? Regard, --- Amir Hosein Jadidi Nejad Student Of Computer Science Bu-Ali Sina University, Hamedan-Iran

Re: Can lucene do this?

2006-05-12 Thread Amir Hosein Jadidi Nejad
dditional or alternate suggestions?? Scott --- Amir Hosein Jadidi Nejad Student Of Computer Science Bu-Ali Sina University, Hamedan-Iran E-Mail : [EMAIL PROTECTED] , [EMAIL PROTECTED] - Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.

Persian/Arabic Analyzer

2005-12-06 Thread Amir Hosein Jadidi Nejad
Hi All, is anybody have a "persian (farsi) analyzer" for lucene search engine. if "arabic" is available, i can customize it to farsi/persian. Regard, --- Amir Hosein Jadidi Nejad Student Of Computer