Re: Solr 5.2.1 on Solaris

2015-08-21 Thread Mikhail Khludnev
Did you search for it? 2015-08-21 16:59 GMT+03:00 Benjamin Lallement benjamin.lallem...@desjardins.com: Is there a JIRA on this case ? [image: cid:image001.jpg@01CFEA10.1CD52220] *Benjamin Lallement* Soutien au développement Technologies et Centre de services partagés Mouvement

Re: Exception while using {!cardinality=1.0}.

2015-08-21 Thread Modassar Ather
Hi Chris, I have added a method in SOLR-7954 jira ticket to index sample data which can be used to reproduce the issue. Regards, Modassar On Fri, Aug 21, 2015 at 11:49 AM, Modassar Ather modather1...@gmail.com wrote: Hi Chris, I have raised https://issues.apache.org/jira/browse/SOLR-7954

Re: Geospatial Predicate Question

2015-08-21 Thread Jamie Johnson
Thanks for the clarification! On Aug 19, 2015 3:05 PM, david.w.smi...@gmail.com david.w.smi...@gmail.com wrote: Hi Jamie, Your understanding is inverted. The predicates can be read as: indexed shape predicate query shape. For indexed point data, there is almost no semantic different

Solr Query + vs AND

2015-08-21 Thread Brian Narsi
CustomerID is a string CustomerName is text I have a query like this (i.e. (CustomerID is NULL or CustomerID = 56789) and (CustomerName like smith)): ((-(CustomerID: [* TO *])) OR (CustomerID: 56789))AND(CustomerName:smith) Number of results: 150 (Not correct) But when I change the query to

Re: Solr: How to index range-pair fields?

2015-08-21 Thread Alexandre Rafalovitch
I can't find the discussion/presentation about it (about 2 years ago), but basically you can use LatLong geographic field to do this. You represent start date/time on X axis and end date/time on Y axes. Then, for search you intersect it with a rectangle of your desired check dates. Hopefully

Re: Solr Query + vs AND

2015-08-21 Thread Shawn Heisey
On 8/21/2015 8:34 AM, Brian Narsi wrote: CustomerID is a string CustomerName is text I have a query like this (i.e. (CustomerID is NULL or CustomerID = 56789) and (CustomerName like smith)): Note that you must leave the default operator as OR for +/- syntax to work as intended. It will not

Re: solr add document

2015-08-21 Thread Erick Erickson
Please provide details. You might want to review: http://wiki.apache.org/solr/UsingMailingLists You haven't provided 1 the sample doc 2 the schema you're using, at least for the search field 3 the solrconfig.xml file, particularly the default search field 4 the results of adding debug=query and

Re: FieldCacheTermsFilter Replacement in Lucene 5.2.1

2015-08-21 Thread Mikhail Khludnev
Hello, DocValuesTermsQuery ? On Fri, Aug 21, 2015 at 6:00 PM, Pablo Mincz pmi...@gmail.com wrote: Hi, I'm doing a migration from Lucene 3.6.1 to 5.2.1, and for what I see FieldCacheTermsFilter does not exists any more. Is there any replacement for keep same functionality? Thanks for the

Re: DIH delta-import pk

2015-08-21 Thread Erick Erickson
use 2 unique fields to do what? Solr replaces older docs with newer docs based _solely_ on the uniqueKey defined in schema.xml. There is no notion of compound unique key like there can be in a database. You could concatenate the PK and a uuid, but what would be the point? Since the uuid

RE: exclude folder in dataimport handler.

2015-08-21 Thread coolmals
Can you give me a brief description on how to use a transformer to excludes docs from a folder? -- View this message in context: http://lucene.472066.n3.nabble.com/exclude-folder-in-dataimport-handler-tp4224267p4224489.html Sent from the Solr - User mailing list archive at Nabble.com.

FieldCacheTermsFilter Replacement in Lucene 5.2.1

2015-08-21 Thread Pablo Mincz
Hi, I'm doing a migration from Lucene 3.6.1 to 5.2.1, and for what I see FieldCacheTermsFilter does not exists any more. Is there any replacement for keep same functionality? Thanks for the help. Regards, Pablo.

solr add document

2015-08-21 Thread CrazyDiamond
i add document to solr(cloud) using rsolr. it returns responseHeader = { status = 0, QTime = 5 } }. But when i search for added document nothing is found. -- View this message in context: http://lucene.472066.n3.nabble.com/solr-add-document-tp4224480.html Sent from the

Solr 5.2.1 on Solaris

2015-08-21 Thread Benjamin Lallement
Is there a JIRA on this case ? [cid:image001.jpg@01CFEA10.1CD52220] Benjamin Lallement Soutien au développement Technologies et Centre de services partagés Mouvement Desjardins Montréal 514 281-7000, poste 5551850 1 866 866-7000, poste 5551850 Télécopieur : 514 281-5916 Faites bonne

Re: Solr Query + vs AND

2015-08-21 Thread Erick Erickson
You might find this useful: https://lucidworks.com/blog/why-not-and-or-and-not/ Best, Erick On Fri, Aug 21, 2015 at 7:58 AM, Alexandre Rafalovitch arafa...@gmail.com wrote: If you can use + and -, please do so. That's what Lucene uses under the covers (MUST, SHOULD, MUST NOT). Anything else is

Re: Solr Query + vs AND

2015-08-21 Thread Alexandre Rafalovitch
If you can use + and -, please do so. That's what Lucene uses under the covers (MUST, SHOULD, MUST NOT). Anything else is mapping to that. You can also enable the debug flag on your queries and see exactly how the other forms (e.g. AND) are mapped to the underlying Lucene queries. Regards,

Re: caches with faceting

2015-08-21 Thread Kiran Sai Veerubhotla
Kindly help on this On Thu, Aug 20, 2015 at 2:46 PM, Kiran Sai Veerubhotla sai.sq...@gmail.com wrote: i have used json facet api and noticed that its relying heavily on filter cache. index is optimized and all my fields are with docValues='true' and the number of documents are 2.6 million

Re: caches with faceting

2015-08-21 Thread Kiran Sai Veerubhotla
thank you Yonik On Fri, Aug 21, 2015 at 12:43 PM, Yonik Seeley ysee...@gmail.com wrote: On Thu, Aug 20, 2015 at 3:46 PM, Kiran Sai Veerubhotla sai.sq...@gmail.com wrote: i have used json facet api and noticed that its relying heavily on filter cache. Yes. The root domain (the set of

Re: Solr: How to index range-pair fields?

2015-08-21 Thread vaedama
Alexandre, How would the data type look like ? Currently, this is what I have: fieldType name=days_of_year class=solr.SpatialRecursivePrefixTreeFieldType geo=false worldBounds=0 0 366 366 distErrPct=0 maxDistErr=0.0009 units=degrees / field

Re: Solr: How to index range-pair fields?

2015-08-21 Thread Alexandre Rafalovitch
On 21 August 2015 at 15:32, vaedama sudheer.u...@gmail.com wrote: presentDays: [ [01 15 366 366], [13, 16, 366, 366], [19, 25, 366, 366] ] This does not look right. Your January 1 2015 should map to a single number, representing 'X' in the coordinates. Your January 15 2015 should map to another

Re: exclude folder in dataimport handler.

2015-08-21 Thread Alexandre Rafalovitch
A transformer on the outer entity will run before the inner entity is invoked. So, you might be able to remove the list of files to ignore before the inner entity starts extracting from them. You could also pre-generate a list of files by doing ls/find with your requirements and then just read

Re: Solr: How to index range-pair fields?

2015-08-21 Thread Alexandre Rafalovitch
These look right. Then, you just play around with mapping. Your dates to coordinates could be as granular as you want as long as they fit into data type. And with this being school, your epochs might be smaller (e.g. semesters) and kept as a separate number. Regards, Alex. Solr

Re: caches with faceting

2015-08-21 Thread Yonik Seeley
On Thu, Aug 20, 2015 at 3:46 PM, Kiran Sai Veerubhotla sai.sq...@gmail.com wrote: i have used json facet api and noticed that its relying heavily on filter cache. Yes. The root domain (the set of documents that match the base query and filters) is cached in the filter cache. For sub-facets,

Re: Solr: How to index range-pair fields?

2015-08-21 Thread Erick Erickson
You can always index to a second field with date math, or even pull out the day as you're indexing. Best, Erick On Fri, Aug 21, 2015 at 10:57 AM, vaedama sudheer.u...@gmail.com wrote: Hi Alexandre, Thanks for your reply! I guess these are the links that you were referring to :)

Re: Solr: How to index range-pair fields?

2015-08-21 Thread vaedama
Hello Eric, Thanks for your reply. You can always index to a second field with date math, or even pull out the day as you're indexing. How would this second field look like ? Can you please provide me an example for both fieldType definition and field definition ? Also, please tell me how

Re: Solr: How to index range-pair fields?

2015-08-21 Thread vaedama
Hi Alexandre, Thanks for your reply! I guess these are the links that you were referring to :) http://mail-archives.apache.org/mod_mbox/lucene-solr-user/201212.mbox/%3c1354991310424-4025359.p...@n3.nabble.com%3E https://wiki.apache.org/solr/SpatialForTimeDurations

Re: Number of requests to each shard is different with and without using of grouping

2015-08-21 Thread SolrUser1543
Ramkumar R. Aiyengar wrote Grouping does need 3 phases.. The phases are: (2) For the N groups, each shard is asked for the top M ids (M is configurable per request). What do you exactly means by /M is configurable per request/ ? how exactly is it configurable and what is the relation

Collapse Expand

2015-08-21 Thread Kiran Sai Veerubhotla
how can i use collapse expand on the docValues with json facet api?

Re: Exception while using {!cardinality=1.0}.

2015-08-21 Thread Chris Hostetter
: - Did you have the exact same data in both fields? : Both the field are string type. that's not the question i asked. is the data *in* these fields (ie: the actual value of each field for each document) the same for both of the fields? This is important to figuring out if the root problem

Solr health check monitor for multiple cores

2015-08-21 Thread Davis, Daniel (NIH/NLM) [C]
I'm wondering what different folks do out there for a health monitor for Solr. I'm running Solr 5.2.1, so far without Solr Cloud, and I anticipate having multiple cores. For now, I can make use solr/corename/admin/ping, but how can I have Solr ping all cores? Dan Davis, Systems/Applications

Re: Solr: How to index range-pair fields?

2015-08-21 Thread vaedama
Alexandre, Fantastic answer! I think having a start position would work nicely with my use-case :) Also I would prefer to do the date Math during indexing. *Question # 1:* Can you please tell me if this doc looks correct (given that I am not yet bothered about factoring in year into my use-case)

Re: Exception while using {!cardinality=1.0}.

2015-08-21 Thread Modassar Ather
Hi Chris, I have raised https://issues.apache.org/jira/browse/SOLR-7954 for the issue. - What was the datatype of the field(s)? The data type of fields which passes are of type string with following attributes. fieldType name=string class=solr.StrField sortMissingLast=true stored=false

Solr 4.10.3 cached grouping results but Solr 5.2.1 don't, why?

2015-08-21 Thread Pavel Hladik
Hi, we have changed Solr from 4.10.3 to 5.2.1 and we don't know why, but 4.10.3 was caching grouping results and the new 5.2.1 don't. Any suggestion howto cache results? We have 140M docs and some results takes up to 60 secs, so cache will be good. :) I red that grouping using faceting is

Re: SOLR to SOLR communication with custom authentication

2015-08-21 Thread Ramkumar R. Aiyengar
Custom authentication support was added in 5x, and the imminent (in the next few days) 5.3 release has a lot of features in this regard, including a basic authentication module, I would suggest upgrading to it. 5x versions (include 5.3) do support Java 7, so I don't see an issue here? On 20 Aug

Re: Number of requests to each shard is different with and without using of grouping

2015-08-21 Thread Ramkumar R. Aiyengar
Grouping does need 3 phases.. The phases are: (1) Each shard is asked for the top N groups (instead of ids), with the sort value. The federator then sorts the groups from all shards and chooses the top N groups. (2) For the N groups, each shard is asked for the top M ids (M is configurable per

Re: DIH delta-import pk

2015-08-21 Thread CrazyDiamond
ok, can I use 2 unique fields one with uuid and one with db id? what will happened then? -- View this message in context: http://lucene.472066.n3.nabble.com/DIH-delta-import-pk-tp4224342p4224395.html Sent from the Solr - User mailing list archive at Nabble.com.