How To Index With Multiple Priorities

2015-11-18 Thread Mehmet Başal
Hello, I have different lists that consist of products. And each product in list has a priority that specific to list. For example; List A: product_id - priority 1 10 2 25 3 30 List B: product_id - priority 3

Document frequency with multiple fields

2015-11-18 Thread renanmach
Hello everyone, I am indexing a collection of XML files. I select a few tags and each selected tag of a XML file is indexed in a different field of a document. I need to get the document frequency (the number of documents that have the term) of each term. The problem is that I am getting a TermVe

Re: How To Index With Multiple Priorities

2015-11-18 Thread Erick Erickson
Looks rather like a dynamic field (assuming you don't have thousands of lists). So when ingesting list B, you index a field like b_priority likewise with list A you index a field like a_priority and have a dynamic field with a name like *_priority. Best, Erick On Wed, Nov 18, 2015 at 4:15 AM, M

Lucene Scoring in Exact and Phrase Matching

2015-11-18 Thread JayJones11
I'm fairly new to Elasticsearch and Lucene. I quickly went through the Elasticsearch definitive guide and was able to understand how the scoring is calculated for boolean, term and multi term queries. The basic weighting is TF-IDF and scoring is based on custom VSM. Depending on query construction