Re: Break up a supplier's documents (products) from dominating search result.

2016-12-01 Thread Derek Poh
While testing with groupparam(i think it apply to field collapse as well), I encountered a scenario where the number of suppliers in a result is less than the number of items to display per page (user select). Eg. Products per page to display is 80. The search result has 182 matching

Re: Apply patch steps and update solr with new patch

2016-12-01 Thread Shawn Heisey
On 12/1/2016 9:52 PM, Reth RM wrote: > Does "ant server" executed under "/solr/" also > compiles/includes changes of patch made to lucene libraries? This > patch is adding/modifying lucene modules. Compiling Solr will also compile Lucene. I would amend the procedure a little bit to be

Re: Apply patch steps and update solr with new patch

2016-12-01 Thread Reth RM
Hi Erick, Does "ant server" executed under "/solr/" also compiles/includes changes of patch made to lucene libraries? This patch is adding/modifying lucene modules. On Thu, Dec 1, 2016 at 5:02 PM, Erick Erickson wrote: > You need to execute the target "ant package"

Re: Reindex after schema change options

2016-12-01 Thread Damien Kamerman
I'm in a similar situation where I'm using org.apache.lucene.index.IndexUpgrader to upgrade an index from solr 4 to solr 6, and want to add docValues to the schema. All my fields are stored so I assume I could use the DataImportHandler SolrEntityProcessor to copy the collection to a new

Re: Schemaless Mode - Multivalued

2016-12-01 Thread Alexandre Rafalovitch
Sure, the whole chain is defined in solrconfig.xml, you can modify it any way you want. The reason it is there is because when Solr see the first field occurrence, it does not know whether the next occurrence will be multivalued. So, it errs on the side of caution. Regards, Alex.

Re: Pagination issue

2016-12-01 Thread Erick Erickson
Are you absolutely and totally sure that the s are unique (id by default) when you say that the only difference is the date? It sounds like you're somehow getting the same doc indexed with two (or more) different IDs. You can look at this by identifying some suspect IDs and issuing queries like

Re: Apply patch steps and update solr with new patch

2016-12-01 Thread Erick Erickson
You need to execute the target "ant package" from the solr directory (i.e. the sibling of the lucene directory) under where you cloned the Git repo. You should then find a distro just like you'd download from one of the mirrors, I don't quite remember where now, in build? dist? If you're

Re: Queries regarding solr cache

2016-12-01 Thread Jeff Wartes
I found this, which intends to explore the usage of RoaringDocIdSet for solr: https://issues.apache.org/jira/browse/SOLR-9008 This suggests Lucene’s filter cache already uses it, or did at one point: https://issues.apache.org/jira/browse/LUCENE-6077 I was playing with id set implementations

Apply patch steps and update solr with new patch

2016-12-01 Thread Reth RM
Hi, I followed the below steps to apply a patch, but have issues, any pointers to mistake or blogs to apply patch and update solr with patch, will be helpful. 1. git clone https://github.com/apache/lucene-solr.git 2. ant clean, ant compile ant idea 3. open project in idea(intellij) 4. apply

Schemaless Mode - Multivalued

2016-12-01 Thread Matt Kuiper
Hi - I have noticed when using schemaless mode that it appears that all fields created by this mode are defined as Multivalued. Is there a way to modify a configuration so that the default is to be not Multivalued? Thanks, Matt

RE: Solr Doc Site Down?

2016-12-01 Thread Matt Kuiper
Thank, Look like it is backup now. Matt -Original Message- From: Shawn Heisey [mailto:apa...@elyograg.org] Sent: Thursday, December 01, 2016 9:42 AM To: solr-user@lucene.apache.org Subject: Re: Solr Doc Site Down? On 12/1/2016 9:11 AM, Matt Kuiper wrote: > FYI - This morning I am no

Pagination issue

2016-12-01 Thread Halim Chaibi
Hi, We are using solr cloud 4.10.4, with 4 shards, one replica for each shard. The id field definition is a unique composite key id (key_id!document_id) We are having an issue with the pagination: Some documents found with a request, let's says, of 100 documents starting from 200(rows=100=200)

Re: CDCR: Help With Tlog Growth Issues

2016-12-01 Thread Shalin Shekhar Mangar
Even if buffer is enabled, the old tlogs should be remove once the updates in those tlogs have been replicated to the target. So the real question is why they haven't been removed automatically? On Thu, Dec 1, 2016 at 9:13 PM, Renaud Delbru wrote: > Hi Thomas, > > Looks

java.lang.NegativeArraySizeException during Solr query request

2016-12-01 Thread Moritz Becker
Hi I am encountering the following exception with Solr 6.2.1 occasionally when querying the index. The exception causes the request to fail. java.lang.NegativeArraySizeException at org.apache.lucene.search.FieldComparator$LongComparator.(FieldComparator.java:406) at

Re: Solr Doc Site Down?

2016-12-01 Thread Shawn Heisey
On 12/1/2016 9:11 AM, Matt Kuiper wrote: > FYI - This morning I am no longer able to access - > https://cwiki.apache.org/confluence/display/solr/Apache+Solr+Reference+Guide I tried it when I saw this, and it worked. Then I popped in the Infra hipchat channel to ask them whether your IP (found

Re: Solr Doc Site Down?

2016-12-01 Thread Steve Rowe
Yup, same for me - see -- Steve www.lucidworks.com > On Dec 1, 2016, at 11:11 AM, Matt Kuiper wrote: > > FYI - This morning I am no longer able to access - > https://cwiki.apache.org/confluence/display/solr/Apache+Solr+Reference+Guide > >

Solr Doc Site Down?

2016-12-01 Thread Matt Kuiper
FYI - This morning I am no longer able to access - https://cwiki.apache.org/confluence/display/solr/Apache+Solr+Reference+Guide Matt

Re: Queries regarding solr cache

2016-12-01 Thread Shawn Heisey
On 12/1/2016 8:16 AM, Dorian Hoxha wrote: > @Shawn > Any idea why the cache doesn't use roaring bitsets ? I had to look that up to even know what it was. Apparently Lucene does have an implementation of that, a class called RoaringDocIdSet. It was incorporated into the source code in October

Re: CDCR: Help With Tlog Growth Issues

2016-12-01 Thread Renaud Delbru
Hi Thomas, Looks like the buffer is enabled on the update log, and even if the updates were replicated, they are not removed. What is the output of the command `cdcr?action=STATUS` on both cluster ? If you see in the response `enabled`, then the buffer is enabled. To disable it, you

Re: Queries regarding solr cache

2016-12-01 Thread Dorian Hoxha
@Shawn Any idea why the cache doesn't use roaring bitsets ? On Thu, Dec 1, 2016 at 3:49 PM, Shawn Heisey wrote: > On 12/1/2016 4:04 AM, kshitij tyagi wrote: > > I am using Solr and serving huge number of requests in my application. > > > > I need to know how can I utilize

Re: Queries regarding solr cache

2016-12-01 Thread Shawn Heisey
On 12/1/2016 4:04 AM, kshitij tyagi wrote: > I am using Solr and serving huge number of requests in my application. > > I need to know how can I utilize caching in Solr. > > As of now in then clicking Core Selector → [core name] → Plugins / Stats. > > I am seeing my hit ration as 0 for all the

Queries regarding cache

2016-12-01 Thread kshitij tyagi
Hi All, I am using Solr and serving huge number of requests in my application. I need to know how can I utilize caching in Solr. I am seeing hit ratio as 0 for all the caches in Plugins/Stats. My configurations in solrxml are : Can someone please help me out here to understand and optimise

Re: insert lat/lon from jpeg into solr

2016-12-01 Thread Tom Evans
On Wed, Nov 30, 2016 at 1:36 PM, win harrington wrote: > I have jpeg files with latitude and longitudein separate fields. When I run > the post tool,it stores the lat/lon in separate fields. > For geospatial search, Solr wants themcombined into one field with

Fwd: Queries regarding solr cache

2016-12-01 Thread kshitij tyagi
-- Forwarded message -- From: kshitij tyagi Date: Thu, Dec 1, 2016 at 4:34 PM Subject: Queries regarding solr cache To: solr-user@lucene.apache.org Hi All, I am using Solr and serving huge number of requests in my application. I need to know how

Queries regarding solr cache

2016-12-01 Thread kshitij tyagi
Hi All, I am using Solr and serving huge number of requests in my application. I need to know how can I utilize caching in Solr. As of now in then clicking Core Selector → [core name] → Plugins / Stats. I am seeing my hit ration as 0 for all the caches. What does this mean and how this can be