Re: Fetching results with a minimum from each category

2013-12-30 Thread Jilal Oussama
I don't get it, if b and d only have 4 products, how can you fetch one more for them? But any way, if you realy know what you are doing, then I can say that this is quite specific, so you may have to do it in 2 solr queries. also see the Grouping Componant, it may help you get what you want

Re: Solr Query Slowliness

2013-12-27 Thread Jilal Oussama
Thank you guys for your replies, Sorry that I forgot to mention that I have allocated 10 GB of memory to the Java Heap. 2013/12/26 Shawn Heisey s...@elyograg.org On 12/26/2013 3:38 AM, Jilal Oussama wrote: Solr was hosted on an Amazon ec2 m1.large (2 vCPU with 4 ECU, 7.5 GB memory 840

Solr Query Slowliness

2013-12-26 Thread Jilal Oussama
Hi all, I have multiple python scripts querying solr with the sunburnt module. Solr was hosted on an Amazon ec2 m1.large (2 vCPU with 4 ECU, 7.5 GB memory 840 GB storage) and contained several cores for different usage. When I manually executed a query through Solr Admin (a query containing

Re: Solr Query Slowliness

2013-12-26 Thread Jilal Oussama
Thanks Rafal for your reply, My scripts are running on other independent machines so they does not affect Solr, I did mention that the queries are not the same (that is why I removed the query cache from solrconfig.xml), and I only get 1 result from Solr (which is the top scored one so no sorting

Re: Solr Query Slowliness

2013-12-26 Thread Jilal Oussama
This an example of a query: http://myip:8080/solr/TestCatMatch_shard12_replica1/select?q=Royal+Cashmere+RC+106+CS+Silk+Cashmere+V+Neck+Moss+Green+Men ^10+s+Sweater+Cashmere^3+Men^3+Sweaters^3+Clothing^3rows=1wt=jsonindent=true in return : { responseHeader:{ status:0, QTime:191},

Re: [ANNOUNCE] Solr wiki editing change

2013-03-28 Thread Jilal Oussama
Please add OussamaJilal to the group. Thank you. 2013/3/28 Steve Rowe sar...@gmail.com On Mar 28, 2013, at 9:25 AM, Andy Lester a...@petdance.com wrote: On Mar 24, 2013, at 10:18 PM, Steve Rowe sar...@gmail.com wrote: Please request either on the solr-user@lucene.apache.org or on

Re: SOLR - Recommendation on architecture

2013-03-08 Thread Jilal Oussama
I would not recommend Windows too 2013/3/8 Kobe J kobe.free.wo...@gmail.com We are planning to use SOLR 4.1 for full text indexing. Following is the hardware configuration of the web server that we plan to install SOLR on:- *CPU*: 2 x Dual Core (4 cores) *R**AM:* 12GB *Storage*: 212GB

Re: removing whitespaces in query

2013-03-07 Thread Jilal Oussama
You can use two fields, in one you keep the original data, and use the second one as a copy field and use the Pattern Replace Filter combined with the Keyword Tockenizer. 2013/3/7 Jochen Lienhard lienh...@ub.uni-freiburg.de Hello, we have indexed a field, where we have removed the

Re: Building a central index with Lucene + Solr

2013-03-05 Thread Jilal Oussama
I use Solarium as a PHP library too, and I would greatly recommend it. 2013/3/5 Jorge Luis Betancourt Gonzalez jlbetanco...@uci.cu Agreed, PHP and Solr are an excellent combination. I'm using Solr 3.6 + PHP (Symfony2 + NelmioSolariumBundle + Solarium) and getting excellent results. Even

Re: create cores dynamically

2013-03-03 Thread Jilal Oussama
For me, it always creates the data dir next to the conf dir I specified (this should depend on your core configuration) and load the core into solr (and I think this is what it is suposed to do) On Mar 3, 2013 3:18 AM, adeelmahmood adeelmahm...@gmail.com wrote: I am not sure if I understand how

Re: Query with whitespace

2013-03-01 Thread Jilal Oussama
You can also specify in you schema that the default query operator is AND. On Mar 1, 2013 5:35 PM, Jack Park jackp...@topicquests.org wrote: I found a tiny notice about just using quotes; tried it in the admin query console and it works. e.g. label:car house would fetch any document for which

RE: Can't search words in quotes

2013-02-27 Thread Jilal Oussama
You are welcome Alex Glad it worked fine. On Feb 28, 2013 6:15 AM, Alex Cougarman acoug...@bwc.org wrote: Thanks, Oussama. That was very useful information and we have added the double quotes. One interesting trick: we had to change the way we did it to wrap the pattern value in single quotes

Re: Solr Grouping and empty fields

2013-02-24 Thread Jilal Oussama
Oh this is a good one ! Thank you very much Teun (But I will have to ask you how do you generate a unique value for the copy field when the original one is empty? Do you do this manualy or solr can do it?) And thanks again. On Feb 24, 2013 12:11 PM, Teun Duynstee t...@duynstee.com wrote: We had

Re: Solr Grouping and empty fields

2013-02-23 Thread Jilal Oussama
Thank you Daniel, it is a nice idea. I wish there was a better solution, but we will go with yours it seems. (still open for any other idea) On Feb 22, 2013 7:47 PM, Daniel Collins danwcoll...@gmail.com wrote: We had something similar to be fair, a cluster information field which was