Re: Clarification on +, and in edismax parser

2016-03-09 Thread Dikshant Shahi
Hi, No, + and "and" doesn't works similar. Even "and" and "AND" would have a different behavior (is configurable) in edismax. When you put a + before a term, you specify that it's mandatory. Hence, "+google +india" will get you the same result as "google AND india". Best Regards, *Dikshant

Re: Clarification on +, and in edismax parser

2016-03-09 Thread Anil
"google"+"india" , "india"+"google" returning different results. Any help would be appreciated. Thanks, Anil On 10 March 2016 at 11:47, Anil wrote: > HI, > > I am using edismax query parser for my solr search. > > i believe '+' and 'and' should work similar. > > ex :

Re: How to pass facet info of the top inner nested doc to the top parent doc

2016-03-09 Thread Mikhail Khludnev
Jhon, What if you just forgen about middle level and q={!parent which=type_s:parent}...=SIZE_s Binoy, facet.query works but there should be many of them one for L, one for M, etc On Wed, Mar 9, 2016 at 7:09 PM, Jhon Smith wrote: > There are 3 levels of nested docs: parent ->

Re: How to sort docs basing on nested docs' fields

2016-03-09 Thread Mikhail Khludnev
Hello, I suppose there are a clue over there http://blog.griddynamics.com/2015/08/scoring-join-party-in-solr-53.html On Wed, Mar 9, 2016 at 6:51 PM, Jhon Smith wrote: > There are usual documents: products and nested documents containing > different prices. > How to sort

Clarification on +, and in edismax parser

2016-03-09 Thread Anil
HI, I am using edismax query parser for my solr search. i believe '+' and 'and' should work similar. ex : "google"+"india", "google" and "india" should return same number of results. Correct me if I am wrong. Thanks. Regards, Anil

Re: Query behavior.

2016-03-09 Thread Shawn Heisey
On 3/9/2016 10:55 PM, Shawn Heisey wrote: > The ~2 syntax, when not attached to a phrase query (quotes) is the way > you express a fuzzy query. If it's attached to a query in quotes, then > it is a proximity query. I'm not sure whether it means something > different when it's attached to a query

Re: Query behavior.

2016-03-09 Thread Shawn Heisey
On 3/9/2016 12:07 AM, Modassar Ather wrote: > Kindly help me understand the parsing of following query. I am using > edismax parser and Solr-5.5.0. > q.op is set to AND and there is no explicit mm value set. > > fl:(java OR book) => "boost(+((fl:java fl:book)~2),int(val))" > > When the query has

Re: Query behavior.

2016-03-09 Thread Modassar Ather
Hi, A suggestion will be very helpful. Thanks, Modassar On Wed, Mar 9, 2016 at 12:37 PM, Modassar Ather wrote: > Hi, > > Kindly help me understand the parsing of following query. I am using > edismax parser and Solr-5.5.0. > q.op is set to AND and there is no explicit

Re: Multiple custom Similarity implementations

2016-03-09 Thread Parvesh Garg
Thanks Markus. We will look at other options. May I ask what can be the reasons for not supporting this ever? Parvesh Garg, http://www.zettata.com On Tue, Mar 8, 2016 at 8:59 PM, Markus Jelsma wrote: > Hello, you can not change similarities per request, and this

Re: Non-contigous terms in SuggestComponent

2016-03-09 Thread Zheng Lin Edwin Yeo
Hi Alfonso, I think we can't escape totally from edismax. I guess we just have to try to optimise the performance. I'm dealing with similar issues at the moment now. Regards, Edwin On 3 March 2016 at 00:14, Alfonso Muñoz-Pomer Fuentes wrote: > Hi Edwin. > > That was what I

Re: Timeout error during commit

2016-03-09 Thread Shawn Heisey
On 3/9/2016 6:10 PM, Steven White wrote: > I'm indexing about 1 billion records (each are small Solr doc, no more than > 20 bytes each). The logic is basically as follows: > > while (data-of-1-billion) { > read-1000-items from DB > at-100-items send 100 items to Solr: i.e.: >

Timeout error during commit

2016-03-09 Thread Steven White
Hi folks, I'm indexing about 1 billion records (each are small Solr doc, no more than 20 bytes each). The logic is basically as follows: while (data-of-1-billion) { read-1000-items from DB at-100-items send 100 items to Solr: i.e.: solrConnection.add(docs); }

Re: ngrams with position

2016-03-09 Thread Alessandro Benedetti
if you store the positions for your tokens ( and it is by default if you don't omit them), you have the relative position in the index. [1] I attach a blog post of mine, describing a little bit more in details the lucene internals. Apart from that, can you explain the problem you are trying to

Re: XJoin, a way to use external data sources with Solr

2016-03-09 Thread TomW
Hi Zisis, I think I remember considering using a PostFilter, however, whilst that seems to be fine for a simple filter, what we wanted to do with XJoin was, as well as filtering, to pull in fields from the external data and incorporate them into the matching documents in the SOLR results set.

Re: JSON FACET API - multiselect

2016-03-09 Thread Jay Potharaju
Actually there is a problem with my data..found my error. Thanks On Wed, Mar 9, 2016 at 9:24 AM, Jay Potharaju wrote: > Hi, > I am using solr 5.4 and testing the multi select JSON facet feature. > When I select 1 value the results are the same as number of counts for the

JSON FACET API - multiselect

2016-03-09 Thread Jay Potharaju
Hi, I am using solr 5.4 and testing the multi select JSON facet feature. When I select 1 value the results are the same as number of counts for the facet. But when I select more than 1 facet the number of results returned are not correct. *Single Facet selected* fq: [

Re: Solrcloud Batch Indexing

2016-03-09 Thread Bin Wang
Hi Eric, I have done a benchmark writing directly to Solrcloud running on my Macbook using SolrJ. In a nutshell, the best indexing speed is *12K* dps (documents per second) with an optimized batch size. You can find more detail and my source code here

Re: How to pass facet info of the top inner nested doc to the top parent doc

2016-03-09 Thread Binoy Dalal
I think you are looking for the facet.query method. To get your child doc facets append = On Wed, 9 Mar 2016, 21:39 Jhon Smith, wrote: > There are 3 levels of nested docs: parent -> mniddle -> child. > > E.g. > > 9 > parent > > 10 > middle > Nike > > 11 > Red > XL > > > 12

How to pass facet info of the top inner nested doc to the top parent doc

2016-03-09 Thread Jhon Smith
There are 3 levels of nested docs: parent -> mniddle -> child. E.g. 9 parent 10 middle Nike 11 Red XL 12 Blue XL If i retrieve middle docs with q={!parent which=type_s:middle}...=SIZE_s then facets work fine (in the latest solr): XL(1) But i want to retrieve top parent documents

Re: Failed to set SSL solr 5.2.1 Windows OS

2016-03-09 Thread Steve Rowe
So, did you try converting the backslashes to forward slashes? You could try to increase logging to get more information: Can you provide a larger snippet of your log around the error? Sounds like at a minimum Solr could

How to sort docs basing on nested docs' fields

2016-03-09 Thread Jhon Smith
There are usual documents: products and nested documents containing different prices. How to sort product documents basing on minimum price in nested documents. Example: 1 product 2 price 100 3 price 200

Re: ngrams with position

2016-03-09 Thread elisabeth benoit
Hello Alessandro, You may be right. What would you use to keep relative order between, for instance, grams __a _am ams mst ste ter erd rda dam am_ of amsterdam? pf2 and pf3? That's all I can think about. Please let me know if you have more insights. Best regards, Elisabeth 2016-03-08 17:46

Re: Stopping Solr JVM on OOM

2016-03-09 Thread Shawn Heisey
On 3/9/2016 6:07 AM, Binoy Dalal wrote: > Have you had a chance to check and review the patch? I have not. I will look at it sometime today, probably later this evening (UTC-7 timezone). Thanks, Shawn

Re: Duplicate Document IDs when updateing parent document with child document

2016-03-09 Thread Mikhail Khludnev
Hello Sebastian, Mixing standalone docs and blocks doesn't work. There are a plenty of issues open. On Wed, Mar 9, 2016 at 3:02 PM, Sebastian Riemer wrote: > Hi, > > to actually describe my problem in short, instead of just linking to the > test applicaton, using SolrJ I

Re: Stopping Solr JVM on OOM

2016-03-09 Thread Binoy Dalal
Hi Shawn, Have you had a chance to check and review the patch? On Wed, 9 Mar 2016, 00:49 Binoy Dalal, wrote: > I've uploaded both files. > Please review and advise. > > On Wed, Mar 9, 2016 at 12:46 AM Binoy Dalal > wrote: > >> Hi Shawn, >> The

Re: Disable hyper-threading for better Solr performance?

2016-03-09 Thread Ilan Schwarts
Solrcloud.. Faster discs.. Multiple cores on different physical discs would help On Mar 9, 2016 2:22 PM, "Vincenzo D'Amore" wrote: > Upgrading to Solr 5 you should improve your indexing performance. > > >

Re: Disable hyper-threading for better Solr performance?

2016-03-09 Thread Vincenzo D'Amore
Upgrading to Solr 5 you should improve your indexing performance. http://lucidworks.com/blog/2015/06/10/indexing-performance-solr-5-2-now-twice-fast/ On Wed, Mar 9, 2016 at 1:13 PM, Avner Levy wrote: > Currently I'm using Solr 4.8.1 but I can move to another version if it

RE: Disable hyper-threading for better Solr performance?

2016-03-09 Thread Avner Levy
Currently I'm using Solr 4.8.1 but I can move to another version if it performs significantly faster. My target is to reach the max indexing throughput possible on the machine. Since it seems the indexing process is CPU bound I was wondering whether 32 logical cores with twice indexing threads

AW: Duplicate Document IDs when updateing parent document with child document

2016-03-09 Thread Sebastian Riemer
Hi, to actually describe my problem in short, instead of just linking to the test applicaton, using SolrJ I do the following: 1) Create a new document as a parent and commit SolrInputDocument parentDoc = new SolrInputDocument(); parentDoc.addField("id", "parent_1");

Re: Relevancy for "tablet"

2016-03-09 Thread Alessandro Benedetti
Hi Robert, this is the kind of scenario I have worked on in the last couple of years in my previous company. Adding semantic and natural language capabilities to your indexing pipeline could help a lot. First of all you need a meaningful knowledge base describing your business ontology. i.e.

Re: Relevancy for "tablet"

2016-03-09 Thread Charlie Hull
On 09/03/2016 10:05, Robert Brown wrote: Hi, I'm looking for some advice and possible options for dealing with our relevancy when searching through shopping products. A search for "tablet" returns pills, when the user would expect electronic devices. Without any extra criteria (like

Relevancy for "tablet"

2016-03-09 Thread Robert Brown
Hi, I'm looking for some advice and possible options for dealing with our relevancy when searching through shopping products. A search for "tablet" returns pills, when the user would expect electronic devices. Without any extra criteria (like category), how would/could you manage this

BlockJoinQuery parser question

2016-03-09 Thread Sathyakumar Seshachalam
Hi, Can an index contain both Standalone documents and nested documents ? I remember being told before that this may not work, but asking again for confirmation here. What I have is a bunch of standalone document followed by nested documents in the index. The BlockJoin then works fine and am

RE: Disable hyper-threading for better Solr performance?

2016-03-09 Thread Markus Jelsma
Hi - i can't remember having seen any threads on this topic for the past seven years. Can you perform a controlled test with a lot of concurrent users. I would suspect nowadays HT would boost highly concurrent environments such a search engines. Markus -Original message- >