TML - Text Mining Library for LSA (Latent Semantic Analysis) implemetation

2014-04-14 Thread Navneet Mathpal
Hi,

does anyone knows about how to implement TML in elasticsearch with the help 
of java ?

-- 
You received this message because you are subscribed to the Google Groups 
elasticsearch group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/f740d37a-5792-47bf-a175-e361326b64a3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Use LSI with elasticsearch

2014-04-07 Thread Navneet Mathpal
Hi,

i want to use LSI with elastic search, is there any tutorial for starting 
it ? how can i do this ? 

thanks,
Navneet

-- 
You received this message because you are subscribed to the Google Groups 
elasticsearch group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/90154d03-d140-4e61-8772-d803f239b777%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


how elasticsearch calculate the score corresponding to the document

2014-02-11 Thread Navneet Mathpal
HOW DOES ELASTICSEARCH CALCULATE THE SCORE  FOR THE FOLLWING AND WHAT THIS 
SCORE  MEANS.

hits: [ 
   
   - { 
  - _shard: 3
  - _node: k8BXmkARRsaaYlUJTRpIqQ
  - _index: phone
  - _type: iphone
  - _id: 2
  - *_score: 0.2712221*
  - _source: { 
 - title: iphone update
 - description: this section shows how to update yopur iphone to 
 work smoothly in your iphone
  

-- 
You received this message because you are subscribed to the Google Groups 
elasticsearch group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/5f1cbc15-f2a5-455d-87f5-acec655e4b43%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


query related to explain api

2014-02-11 Thread Navneet Mathpal
hi,

what is the queryWeight and fieldweight and how does it calculated.I  am 
getting the follwing results.

Thanks
Navneet Mathpal


-- 
You received this message because you are subscribed to the Google Groups 
elasticsearch group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/b0a2fffe-01c5-4c6b-9e44-552e49de8e0c%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


query related to explain api

2014-02-11 Thread Navneet Mathpal
hi,


 what is queryWeight and fieldWeight value which we get as an output of 
explain api, and how is it calculated?

Thanks
Navneet Mathpal
 

-- 
You received this message because you are subscribed to the Google Groups 
elasticsearch group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/a4778f52-a2b0-4dd3-8709-b2035b967c8f%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


whymatch in elasticsearch pharse query

2014-02-10 Thread Navneet Mathpal
Hi,

I am trying to match a phrase repair iphone,

with the help of explain i am getting it but not getting how many times the 
hole phrase is occurring and in which field. 

-- 
You received this message because you are subscribed to the Google Groups 
elasticsearch group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/891f46ba-988b-4601-ab54-faeca24bf312%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Highlight the matched word in elasticsearch

2014-02-10 Thread Navneet Mathpal
Hi ,

how to highlight the matched word in elastic search if i am  firing a query 
like 

{
  explain: true,
  query: {
match: {
  name: age of kamal
}
  }
}


how to highlight the result which contained age of kamal


Thanks 
Navneet Mathpal

-- 
You received this message because you are subscribed to the Google Groups 
elasticsearch group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/db2d03d8-0951-424b-8705-80e449bc91b4%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


boosting in es

2014-02-04 Thread Navneet Mathpal
I  am trying to do the follwing query but it is showing error



{
  query: {
boosting: {
  positive: {
term: {
  name: kamal
}
  },
  negative: {
term: {
  email: abc
}
  }
}
  }
}

-- 
You received this message because you are subscribed to the Google Groups 
elasticsearch group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/764af94e-0ff3-4993-a0ec-df0b02444619%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: boosting in es

2014-02-04 Thread Navneet Mathpal

if I am running the above command it is showing SearchPhaseExecutionException 
error ... but the command you have suggested working fine.
Thanks.







On Tuesday, 4 February 2014 14:24:39 UTC+5:30, Jayesh Bhoyar wrote:

 Hi Navneet,

 What error you are getting while running above command?

 Try following Query:
 curl -XPOST localhost:9200/indexName/indexType/_search?pretty=true -d ' 
 { 
   query : { 
 boosting : { 
 positive : { 
 term : { 
 name : kamal 
 } 
 }, 
 negative : { 
 term : { 
 email : abc
 } 
 }, 
 negative_boost : 0.5 
 } 
   } 
 } 

 ---



-- 
You received this message because you are subscribed to the Google Groups 
elasticsearch group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/429f456d-787c-4e28-b70f-e45022d308c3%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: how to calculate relevancy by the help of precision and recall

2014-02-04 Thread Navneet Mathpal
hey thanks ivan :)

On Wednesday, 5 February 2014 12:44:46 UTC+5:30, Ivan Brusic wrote:

 Interesting topic. Not elasticsearch specific, but nevertheless 
 interesting. One method to calculate relevancy given the precision and 
 recall of a query is by using the F1 score: 
 http://en.wikipedia.org/wiki/F1_score

 F1 would be equal to 2 * (P * R) / (P + R), where P is the precision and R 
 is the recall.

 I am glad someone is using elasticsearch as a search engine. Lately it 
 feels like it is mainly an analytical tool. :)

 Cheers,

 Ivan


 On Tue, Feb 4, 2014 at 10:06 PM, Navneet Mathpal 
 navneetm...@gmail.comjavascript:
  wrote:

 Hi,

 I want to know how do we calculate relevancy with the help of precision 
 and reacall,

 for example:-
 A = The number of relevant records retrieved, 
 B = The number of relevantrecords not retrieved, and 
 C = The number of irrelevant records retrieved. 
 In this example A = 45, B = 35(80-45)and C = 15(60-45)
  Recall =(45 / (45 + 35)) * 100% = 45/80 * 100% =56%
 Precision =(45 / (45 + 15)) * 100% = 45/60 * 100% =75%


 what would be its relevancy how how ?

  -- 
 You received this message because you are subscribed to the Google Groups 
 elasticsearch group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to elasticsearc...@googlegroups.com javascript:.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/elasticsearch/0c5e3d1e-b58b-4ff1-a893-0cfbaef87aa8%40googlegroups.com
 .
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
You received this message because you are subscribed to the Google Groups 
elasticsearch group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/ec8db27b-761b-4af5-a59b-fbd7901c5d8c%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: how to calculate relevancy by the help of precision and recall

2014-02-04 Thread Navneet Mathpal

Ivan but
On Wednesday, 5 February 2014 11:36:50 UTC+5:30, Navneet Mathpal wrote:

 Hi,

 I want to know how do we calculate relevancy with the help of precision 
 and reacall,

 for example:-
 A = The number of relevant records retrieved, 
 B = The number of relevantrecords not retrieved, and 
 C = The number of irrelevant records retrieved. 
 In this example A = 45, B = 35(80-45)and C = 15(60-45)
 Recall =(45 / (45 + 35)) * 100% = 45/80 * 100% =56%
 Precision =(45 / (45 + 15)) * 100% = 45/60 * 100% =75%


 what would be its relevancy how how ?



-- 
You received this message because you are subscribed to the Google Groups 
elasticsearch group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/a3fff8c4-c80b-4b78-9f3b-0ee38dd9b6b5%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


elasticsearch how to display the csv data

2014-01-28 Thread Navneet Mathpal
hi,

I an doing query like this 

my_csv_data/csv_row/_search

{
  field: {
first_name: Aaron
  }
}



the name Aaron are not getting diplayed?? why?

-- 
You received this message because you are subscribed to the Google Groups 
elasticsearch group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/8ec59e3a-85fd-4487-8b7b-3eaf2d9528da%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.