Re: User-defined properties and configsets

2016-01-28 Thread Georg Sorst
Any takers? Georg Sorst schrieb am So., 24. Jän. 2016 00:22: > Hi list! > > I've just started playing with Solr 5 (upgrading from Solr 4) and want to > use configsets. I'm currently struggling with how to use user-defined > properties and configsets together. > > My

Re: implement exact match for one of the search fields only?

2016-01-28 Thread Jan Høydahl
Hi Please look at my github repo with a template for a field type allowing exact match. Typical use is with disMax query parser and the “pf” param. See https://github.com/cominvent/exactmatch -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 28. jan. 2016 kl. 10.52

Query cache with grouping

2016-01-28 Thread Robert Brown
Hi, During some testing, I've found that the queryResultCache is not used when I use grouping. Is there another cache that is being used in this scenario, if so, which, and how can I ensure they'[re providing a real benefit? Thanks, Rob

Re: Solr partial date range search

2016-01-28 Thread Alessandro Benedetti
I agree with Erick, converting dates into String is really a bad idea. This "custom component" makes me curious, I assume you have : Front End - Search-api -Solr or something similar. If you want the front end to send the partial date, then the search-api can handle the conversion. If you want

Re: Adding new documents to the search results and rescoring. Is it possible?

2016-01-28 Thread Jack Krupansky
Please provide a little more context. How exactly are new documents getting added to a result set? I mean, each query has its own result set, so there really isn't any way for a new query to impact the results of a previous query. Scores are always calculated fresh on each query, so there would

Re: Solr cannot return result when query with # * like title:#7654321*

2016-01-28 Thread Jack Krupansky
Thanks. This is what Yonik was referring to - that # is a special URL syntax character which signifies that the text after the # is what is known as a fragment identifier, which is separated from the path and query parameters of the URL. The Solr query is simply one URL query parameter (=value).

Re: implement exact match for one of the search fields only?

2016-01-28 Thread Erick Erickson
bq: if you are interested phrase query, you should use String field If you do this, you will NOT be able to search within the string. I.e. if the doc field is "my dog has fleas" you cannot match "dog has" with a string-based field. If you want to match the _entire_ string or you want prefix-only

Re: SolrCloud replicas out of sync

2016-01-28 Thread Tomás Fernández Löbbe
Maybe you are hitting the reordering issue described in SOLR-8129? Tomás On Wed, Jan 27, 2016 at 11:32 AM, David Smith wrote: > Sure. Here is our SolrCloud cluster: > >+ Three (3) instances of Zookeeper on three separate (physical) > servers. The ZK servers

Re: implement exact match for one of the search fields only?

2016-01-28 Thread Jan Høydahl
Depends on what exactly you try to do. I think the Github README explains in what situations my solution excels. Especially if you do not have control over the client application, you simply get a q=foo, then such a setup will allow you to boost exact matches very easily. -- Jan Høydahl,

Mysql data import issue

2016-01-28 Thread vsriram30
Hi, I am using Solr 4.6.1 and I am trying to import my data from mysql to solr. In mysql, I have a table with columns, id, legacyid, otherfields... In solr I have columns : id, other fields. I want to map the legacyid field in my mysql table with Solr'r id column and skip the "id" field of mysql

O convite de Paulo Marinho está aguardando sua resposta

2016-01-28 Thread Paulo Marinho via LinkedIn
Paulo Marinho would like to connect on LinkedIn. How would you like to respond? Accept: https://www.linkedin.com/e/v2?e=3uh06e-ijyannxz-dm=preRegInvite=first_guest_reminder_01=14=hero=accept_text=3wDALIqe=6097201761255247872 View Paulo Marinhos profile:

Re: implement exact match for one of the search fields only?

2016-01-28 Thread Jack Krupansky
A simple boost query (bq) might do the trick, using edismax: q=dvd bracket bq=spp_keyword_exact:"dvd bracket"^100 qf=P_VeryShortDescription P_ShortDescription P_CatConcatKeyword -- Jack Krupansky On Thu, Jan 28, 2016 at 12:49 PM, Erick Erickson wrote: > bq: if you are

Re: Solr partial date range search

2016-01-28 Thread vsriram30
Hi Benedetti Alessandro, Thanks for your comments. In our application, Solr search is used in multiple places. With respect to using a middle layer, our online requests go through the search API (Middle layer) which is built on top of solr, whereas the editorial tool, along with few other custom

Re: collection aliasing

2016-01-28 Thread Jeff Wartes
I enjoy using collection aliases in all client references, because that allows me to change the collection all clients use without updating the clients. I just move the alias. This is particularly useful if I’m doing a full index rebuild and want an atomic, zero-downtime switchover. On

How to convert string field to date

2016-01-28 Thread Kallu, Sreenivasa (HQP)
Hi, I am new to solr. I am using managed-schema. I am not using schema.xml. I am indexing outlook email messages. I can see only see three fields ( id,_version_,_text_) defined in managed-schema. Remaining fields are handled by following dynamic field I have field name attr_date with

Re: Solr partial date range search

2016-01-28 Thread vsriram30
Hi Jeyaprakash, Thanks for your suggestions. Are you referring to Dataimporthandler properties, to configure this in data-config.xml? Since I am currently referring to partial date search in my online queries, I am not sure whether this will help achieve that. Can you please explain bit more?

Re: How to convert string field to date

2016-01-28 Thread Steve Rowe
Hi Sreenivasa, This is a known bug: https://issues.apache.org/jira/browse/SOLR-8607 (though the problem is not just about catch-all fields as the issue currently indicates - all dynamic fields are affected) Two workarounds (neither tested): 1. Add attr_date via add-dynamic-field instead of

Re: implement exact match for one of the search fields only?

2016-01-28 Thread Derek Poh
Hi Emir For the other search fields, if they have matches it should be return. On 1/28/2016 8:17 PM, Emir Arnautovic wrote: Hi Derek, It is not clear what you are trying to achieve: "one of the search fields is an exact phrase match while the rest of the search fields can be exact or partial

Re: implement exact match for one of the search fields only?

2016-01-28 Thread Derek Poh
Do you mean for the spp_keyword_exact field, I should use String field with keyword tokenised and lowercase token filtered? On 1/28/2016 10:54 PM, Alessandro Benedetti wrote: I think you are overthinking the problem : I agre the described one is the most obvious solution in your case. Only

RE: How to convert string field to date

2016-01-28 Thread Kallu, Sreenivasa (HQP)
Thanks steve for prompt response. I tried workaround one. i.e. 1. Add attr_date via add-dynamic-field instead of add-field (even though the name has no asterisk) I am able to add dynamic field attr_date. But while starting the solr , I am getting following message. Could not load conf for

Re: implement exact match for one of the search fields only?

2016-01-28 Thread Emir Arnautovic
Hi Derek, It is not clear what you are trying to achieve: "one of the search fields is an exact phrase match while the rest of the search fields can be exact or partial matches". What does "while" mean - it has to match in other fields as well or result should be scored better if it does but

Re: implement exact match for one of the search fields only?

2016-01-28 Thread Mugeesh Husain
Hi, if you are interested phrase query, you should use String field instead of text field in schema like as this will solved you problem. if you are missing anything else let share -- View this message in context:

Re: Unable to query the spellchecker in a distributed way

2016-01-28 Thread Damien Picard
(we use Solr 4.4) 2016-01-28 11:07 GMT+01:00 Damien Picard : > Hi, > > We are using SolrCloud (4 nodes) and we have defined a suggester using the > spellcheck component. > > The suggester is defined as : > > > > suggestOpeGes >

implement exact match for one of the search fields only?

2016-01-28 Thread Derek Poh
Hi First of all, sorry for the long post. How do I implement or structured the query such that one of the search fields is an exact phrase match while the rest of the search fields can be exact or partial matches? Is this possible? I have the following search fields - P_VeryShortDescription

enum vs string performance

2016-01-28 Thread Prateek Jain J
Hi, We have some fixed string constants in our application like eventType, sourceEvent etc. We don't have requirement of partial/wildcard search on these fields. Will there be any performance gain while inserting or querying if, we take their fieldType as EnumField in solr? Regards, Prateek

Re: collection aliasing

2016-01-28 Thread vidya
Hi Then what is the difference between collection aliasing and shards parameter mentioned in request handler of solrconfig.xml. In request handler of new collection's solrconfig.xml shards = http://localhost:8983/solr/collection1,http://localhost:8983/solr/collection1 I can query both data of

Apache solr can be made near-real-Time???

2016-01-28 Thread Samina
I want to use solr for enterprise level search on a large scale of data in TB, where in Lakh's of data will be update in an hour and approx 3 Lakh's of data of would be seached in one hour.This is just the rough value though nearby,so how can we achieve near -real-Time search in solr ? and how

Unable to query the spellchecker in a distributed way

2016-01-28 Thread Damien Picard
Hi, We are using SolrCloud (4 nodes) and we have defined a suggester using the spellcheck component. The suggester is defined as : suggestOpeGes org.apache.solr.spelling.suggest.tst.TSTLookup org.apache.solr.spelling.suggest.Suggester ref_opegestion

Re: Apache solr can be made near-real-Time???

2016-01-28 Thread Emir Arnautovic
Hi Samina, First to thank you for teaching me what "lakh" is :) Solr is capable of handling large amount of data, but that requires large Solr cluster. What you need to determine is what is your real time - what is max time you can tolerate update to be visible; and determine acceptable query

upgrade SolrCloud

2016-01-28 Thread Oakley, Craig (NIH/NLM/NCBI) [C]
I'm planning to upgrade (from 5.4.0 to 5.4.1) a SolrCloud with two replicas (one shard). Am I correct in thinking I should be able simply to shutdown one node, change it to using 5.4.1, restart the upgraded node, shutdown the other node and upgrade it? Or are there caveats to consider?

Re: Mysql data import issue

2016-01-28 Thread Gora Mohanty
On 29 January 2016 at 04:13, vsriram30 wrote: > Hi, > I am using Solr 4.6.1 and I am trying to import my data from mysql to solr. > > In mysql, I have a table with columns, > id, legacyid, otherfields... > [...] > But still I get mysql id field to solr id field mapping.

Re: enum vs string performance

2016-01-28 Thread Alessandro Benedetti
Taking a look to the documentation the EnumField type seems more related the possibility of configuring a custom default sort order instead of the lexographic one. When you say "any performance gain" what do you mean ? performance gain accomplishing which tasks ? Space/time performance gain ? At

Adding new documents to the search results and rescoring. Is it possible?

2016-01-28 Thread vitaly bulgakov
I have Solr 4.2. Is it possible to rescore results after adding new documents to the result set? -- View this message in context: http://lucene.472066.n3.nabble.com/Adding-new-documents-to-the-search-results-and-rescoring-Is-it-possible-tp4253859.html Sent from the Solr - User mailing list

Re: implement exact match for one of the search fields only?

2016-01-28 Thread Alessandro Benedetti
I think you are overthinking the problem : I agre the described one is the most obvious solution in your case. Only addition is to use a keyword tokenised field type, lowercase token filtered if you want to be case in-sensitive . Cheers On 28 January 2016 at 13:08, Mugeesh Husain

Re: How to convert string field to date

2016-01-28 Thread Steve Rowe
Try workaround 2, I did and it worked for me. See my comment on the issue: -- Steve www.lucidworks.com > On Jan 28, 2016, at 6:45 PM,

Re: implement exact match for one of the search fields only?

2016-01-28 Thread Derek Poh
Hi Erick and all Yes I am trying to apply the same search term to all the 4 search fieldsand 1 of the search field must be an exact match. You mentioned "In particular, the pf parameter will automatically apply the search terms _as a phrase_ against the field specified, relieving you of

Re: Is Solr cache cleared when I restart Solr?

2016-01-28 Thread Alessandro Benedetti
As already specified you need to distinguish between Solr Cache and OS Memory mapped files. What you should clearly notice in your situation is an increase of space for the OS Memory mapped files. Which means faster access to index segments ( almost all the different data structures are memory

Re: collection aliasing

2016-01-28 Thread Shawn Heisey
On 1/28/2016 2:59 AM, vidya wrote: > Hi > > Then what is the difference between collection aliasing and shards parameter > mentioned in request handler of solrconfig.xml. > > In request handler of new collection's solrconfig.xml >shards = >

Re: Solrcloud error on finding active nodes.

2016-01-28 Thread Shawn Heisey
On 1/28/2016 12:15 AM, Pranaya Behera wrote: > I have checked in the admin UI and now I have created 3 shards 2 > replicas for each shard and 1 shard per node. This is what I get: > > {"card":{ "replicationFactor":"2", "router":{"name":"compositeId"}, > "maxShardsPerNode":"1",

Re: implement exact match for one of the search fields only?

2016-01-28 Thread Alessandro Benedetti
Jan, I admit I took a brief look, but what are the benefit of using your strategy instead of an additional not tokenised ( keywordTokenized) copy field ? Cheers On 28 January 2016 at 15:22, Jan Høydahl wrote: > Hi > > Please look at my github repo with a template for a

Re: Solr cannot return result when query with # * like title:#7654321*

2016-01-28 Thread Ahmet Arslan
Hi Diyun, Have you read https://lucidworks.com/blog/2011/11/29/whats-with-lowercasing-wildcard-multiterm-queries-in-solr/ and https://wiki.apache.org/solr/MultitermQueryAnalysis ? Ahmet On Thursday, January 28, 2016 9:02 AM, diyun2008 wrote: Hi Shawn Your

How much JVM should we allocate

2016-01-28 Thread Midas A
Hi , CPU : 4 physical memory : 48 GB and we are only have solr on this server . How much JVM can be allocate to run server smoothly. Regards, Abhishek Tiwari

Solr+HDFS

2016-01-28 Thread Joseph Obernberger
Hi All - we're using Apache Solr Cloud 5.2.1, with an HDFS system that is 86% full. Some of the datanodes in the HDFS cluster are more close to being full than other nodes. We're getting messages about "Error adding log" from the index process, which I **think** is related to datanodes being