ot;, "value": "hockey", "count": 3},
{"field": "interests", "value": "tennis", "count": 2},
{"field": "interests", "value": "futbol", "count": 1}
]
},
{
&qu
Hello Solr Gurus,
Sorry to bother you again on this. Is there no way in Solr to filter pivot
facets?
[Or did I attract the wrath of the group by posting the question first on
StackOverflow? :-)]
Thanks once again.
On Mon, Dec 18, 2017 at 10:59 AM, Arun Rangarajan
wrote:
> Solr version: 6.
Solr version: 6.6.0
There are two multi-valued string fields in my schema:
* interests
* hierarchy.
Goal is to run a pivot facet query on both these fields, but only for
specific values of `interests` field. This query:
```
/select
?wt=json
&rows=0
&q=interests:(hockey OR soccer)
&facet=true
&fa
x query was
> mapping the accented characters. It's not supposed to do that, but...
>
> Go ahead and file a Jira bug. Include all of the details that you provided
> in this thread.
>
> -- Jack Krupansky
>
> On Tue, Feb 24, 2015 at 2:35 PM, Arun Rangarajan >
uot;, "wt": "json"
} }, "response": {"numFound": 2,"start": 0,"docs": [
{"raw_name": "beyoncé" }, {"raw_name":
"beyoncé" }] }}
On Tue, Feb 24, 2015 a
> Lower-casing done to do case-insensitive matching.
> >
> > On Mon, Feb 23, 2015 at 4:01 PM, Jack Krupansky <
> jack.krupan...@gmail.com>
> > wrote:
> >
> > > Is it really a string field - as opposed to a text field? Show us the
> > fiel
were a "raw" name, wouldn't that be a capital "B"?
>
> -- Jack Krupansky
>
> On Mon, Feb 23, 2015 at 6:52 PM, Arun Rangarajan >
> wrote:
>
> > I have a string field raw_name like this in my document:
> >
> > {raw_name: beyoncé}
> >
I have a string field raw_name like this in my document:
{raw_name: beyoncé}
(Notice that the last character is a special character.)
When I issue this wildcard query:
q=raw_name:beyonce*
i.e. with the last character simply being the ASCII 'e', Solr returns me
the above document.
How do I pr
Solr version 4.2.1
In my schema, I have "text" type defined as follows:
---
---
Field "name" is of type "text".
I have another multi-value
All of them work like a charm! Thanks, Chris.
On Mon, Mar 3, 2014 at 1:28 PM, Chris Hostetter wrote:
>
> : But this query does not work:
> :
> : q={!boost
> : b=if(exists(query({!v='user_type:ADMIN'})),10,1)}id:1&rows=1&fl=*,score
> : It gives an error like this:
>
> The problem is the way you a
If you are trying to serve results as users are typing, then you can use
EdgeNGramFilter (see
https://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.EdgeNGramFilterFactory
).
Let's say you configure your field like this, as shown in the Solr wiki:
d in the polling interval.
>
> The state of the master's searchers just doesn't enter the picture.
>
> Glad the problem is solved no matter what.
>
> Erick
>
> On Sat, Mar 1, 2014 at 10:26 PM, Arun Rangarajan
> wrote:
> >> The slave is polling the master afte
y if all docs have been deleted
>
> What's your polling interval on the slave anyway? Sounds like it's
> quite frequent if you
> notice this immediately after the DIH starts.
>
> Best,
> Erick
>
> On Fri, Feb 28, 2014 at 9:04 PM, Arun Rangarajan
> wrote:
&g
the slave. Since we have primary keys, newly added
docs will overwrite old docs as they get added.
- disable replication after commits. Replicate only after optimize.
Thx all for your help.
On Fri, Feb 28, 2014 at 8:06 PM, Arun Rangarajan
wrote:
> Thx, Erick and Chris.
>
> This
Thx, Erick and Chris.
This is indeed very strange. Other queries which do not restrict by the
date field are returning results, so the index is definitely not empty. Has
it got something to do with the date query part, with NOW/DAY or something
in here?
first_publish_date:[NOW/DAY-33DAYS TO NOW/DA
AND (*:* -tag_id:268702)
>
> Or, maybe you actually wanted this:
>
> first_publish_date:[NOW/DAY-33DAYS TO NOW/DAY-3DAYS] -tag_id:268702
>
> -- Jack Krupansky
>
> -Original Message- From: Arun Rangarajan
> Sent: Friday, February 28, 2014 11:15 AM
> To: solr-user@lucene.apache.
The Solr function query documentation (
https://wiki.apache.org/solr/FunctionQuery#exists) says:
exists(query({!v='year:2012'})) will return true for docs with year=2012
I have a document like:
{
id: 1,
user_type: ADMIN,
like_score: 1
}
id, user_type and like_score are all indexed and stor
Solr server version 4.2.1
I am facing a strange issue with a date query like this:
q=first_publish_date:[NOW/DAY-33DAYS TO NOW/DAY-3DAYS] AND
-tag_id:268702&fq=(burial_score:[* TO 0.49] AND
-tag_id:286006)&rows=1&sort=random_906313237 asc&fl=id
The only process by which we add documents to the c
ndex with
all segments roughly of equal sizes. Will try using that and see if that is
good enough for us.
On Sun, Feb 9, 2014 at 11:22 PM, Shawn Heisey wrote:
> On 2/9/2014 11:41 PM, Arun Rangarajan wrote:
> > I have a 28 GB Solr 4.6 index with 45 segments. Optimize failed with an
>
I have a 28 GB Solr 4.6 index with 45 segments. Optimize failed with an
'out of memory' error. Is optimize really necessary, since I read that
lucene is able to handle multiple segments well now?
nal_1
>
> Tor each file.
>
> (This is what Erick was referring to.)
>
> Sorry, I don't have the answer to the reload question at the tip of my
> tongue.
>
>
> -- Jack Krupansky
>
> -Original Message- From: Arun Rangarajan
> Sent: Friday, June 28,
t; the file name.
>
> -- Jack Krupansky
>
> -Original Message- From: Arun Rangarajan
> Sent: Friday, June 28, 2013 1:06 PM
> To: solr-user@lucene.apache.org
> Subject: Re: Replicating files containing external file fields
>
>
> Erick,
> Thx for your reply. The
iles" trick with relative paths, see:
> http://wiki.apache.org/solr/SolrReplication
>
> Or just put your EFF files in the data dir?
>
> Best
> Erick
>
>
> On Wed, Jun 26, 2013 at 9:01 PM, Arun Rangarajan
> wrote:
>
> > From https://wiki.apache.org/solr/Sol
>From https://wiki.apache.org/solr/SolrReplication I understand that index
dir and any files under the conf dir can be replicated to slaves. I want to
know if there is any way the files under the data dir containing external
file fields can be replicated. These are not replicated by default.
Curren
Yonik,
Thanks, your answer works!
On Wed, Jun 26, 2013 at 2:07 PM, Yonik Seeley wrote:
> On Wed, Jun 26, 2013 at 4:02 PM, Arun Rangarajan
> wrote:
> >
> http://docs.lucidworks.com/display/solr/Working+with+External+Files+and+Processes
> > says
> > this about exte
gt;
> -- Jack Krupansky
>
> -Original Message- From: Arun Rangarajan
> Sent: Wednesday, June 26, 2013 1:18 PM
> To: solr-user@lucene.apache.org
> Subject: Solr 4.2.1 - master taking long time to respond after tomcat
> restart
>
>
> Upgraded from Solr 3.6.1 to 4
http://docs.lucidworks.com/display/solr/Working+with+External+Files+and+Processes
says
this about external file fields:
"They can be used only for function queries or display".
I understand how to use them in function queries, but how do I retrieve the
values for display?
If I want to fetch only t
Upgraded from Solr 3.6.1 to 4.2.1. Since we wanted to use atomic updates,
we enabled updateLog and made the few unstored int and boolean fields as
"stored". We have a single master and a single slave and all the queries go
only to the slave. We make only max. 50 atomic update requests/hour to the
m
my previous first entity
and
entity2=true for the previous 2nd entity.
On Tue, Jun 4, 2013 at 9:21 AM, Raheel Hasan wrote:
> maybe this will help you:
> http://wiki.apache.org/solr/DataImportHandlerDeltaQueryViaFullImport
>
>
> On Tue, Jun 4, 2013 at 8:38 PM, Arun Rangarajan >w
approach may skip some documents, but we do full import once a day so
those docs should eventually catch up. Guess that's the best I can get with
DIH for now!
On Tue, Jun 4, 2013 at 7:05 AM, Shawn Heisey wrote:
> On 6/4/2013 7:52 AM, Arun Rangarajan wrote:
> > I upgraded from Solr
I upgraded from Solr 3.6.2 to 4.2.1 and I am noticing that my data import
handler's delta import is actually doing a full import.
In my data-config.xml, I have an entity named 'Lists' defined as follows:
-
... followed by bunch of sub-entities ...
ture that keeps events from happening all
> at once. Lately, it doesn't seem to be working. (Anonymous - via GTD
> book)
>
>
> On Tue, May 21, 2013 at 7:13 PM, Arun Rangarajan
> wrote:
> > Solr version: 4.2.1
> >
> > As explained here:
> > https://wiki.ap
Solr version: 4.2.1
As explained here:
https://wiki.apache.org/solr/DataImportHandler#Special_Commands, I am
trying to use index-time document-level boost in data import handler. I
have a database table 'boosts' in which the document boosts are stored
against the solr unique key.
In data-config.x
Erik, Jack,
Thanks for your quick replies! That works.
On Mon, May 13, 2013 at 1:18 PM, Jack Krupansky wrote:
> Pure negative queries only work at the top level.
>
> So, try:
>
> q=(tag_id:(1 AND 2) OR tag_id:(*:* NOT 1))
>
>
> -- Jack Krupansky
> -Origi
I am trying to form a Solr query. Our documents have a multi-valued field
named tag_id. I want to get documents that either do not have tag_id 1 or
have both tag_id 1 and 2 i.e.
q=(tag_id:(1 AND 2) OR tag_id:(NOT 1))
This is not giving the desired results. The result is the same as that of
q=tag_i
We have a master-slave Solr set up and run live queries only against the
slave. Full import (with optimize) happens on master every day at 2 a.m.
Delta imports happen every 10 min for one entity and every hour for another
entity.
The following exceptions occur a few times every day in our app logs
Erick,
I believe Indika wants to do this SQL WHERE clause in Solr:
WHERE start_time_utc_epoch >= '1970-01-01T00:00:00Z' AND start_time_utc_epoch
<= merchant_end_of_day_in_utc_epoch
On Tue, Apr 30, 2013 at 11:49 AM, Erick Erickson wrote:
> Could you define your use-case in some more detail? On t
We are trying to upgrade from Solr 3.6.2 to Solr 4.2.1 and are having
problems with using properties in solrcore.properties inside
data-config.xml.
With Solr 3.6.2, we were able to directly use properties in
solrcore.properties inside data-config.xml like ${jdbc.driver},
${jdbc.username}, etc., bu
of my head, but.
>
> Best
> Erick
>
>
> On Tue, Nov 27, 2012 at 9:25 PM, Arun Rangarajan
> wrote:
>
> > We have a Solr 3.6 core that has about 250 TrieIntFields (declared using
> > dynamicField). There are about 14M docs in our Solr index and many
> > d
x27;s SynonymFilter within a custom
lucene analyzer? Thanks.
On Tue, Aug 17, 2010 at 4:51 PM, Arun Rangarajan
wrote:
> I am trying to have multi-word synonyms work in lucene using Solr's *
> SynonymFilter*.
>
> I need to match synonyms at index time, since many of the synonym lis
I am trying to have multi-word synonyms work in lucene using Solr's *
SynonymFilter*.
I need to match synonyms at index time, since many of the synonym lists are
huge. Actually they are really not synonyms, but are words that belong to a
concept. For example, I would like to map {"New York", "Los
41 matches
Mail list logo