CustomScoreProvider Sucks, Need Help

2018-02-23 Thread ~$alpha`
public class MatchingScoreProvider extends CustomScoreProvider { } Issues: 1. CustomScoreProvider works but is too slow. Even when I am writing return 1 on 1st line it's still taking 5 seconds for 6lac row. 2. I added @Slf4j but still not logger not working -- Sent from:

Re: Help required with SolrJ

2018-02-21 Thread Aakanksha Gupta
Thanks Shawn! That was just a small fix from my side. Thanks for your help! On Tue, Feb 20, 2018 at 1:43 AM, Shawn Heisey <apa...@elyograg.org> wrote: > On 2/19/2018 8:49 AM, Aakanksha Gupta wrote: > > Thanks for the quick solution. It works. I just had to replace

Re: Help required with SolrJ

2018-02-21 Thread Aakanksha Gupta
Thanks Erick. On Tue, Feb 20, 2018 at 1:11 AM, Erick Erickson wrote: > Aakanksha: > > Be a little careful here, filter queries with timestamps can be > tricky. The example you have is fine, but for end-points with finer > granularity may be best if you don't cache them,

Re: Need help with match contains query in SOLR

2018-02-20 Thread Alessandro Benedetti
It was not clear at the beginning, but If I understood correctly you could : *Index Time analysis* Use whatever charFilter you need, the keyword tokenizer[1] and then token filters you like ( such as lowercase filter, synonyms ect) *Query Time Analysis* You can use a tokenizer you like ( that

Need help with match contains query in SOLR

2018-02-19 Thread bbarani
Hi, I have a requirement where I want to perform the 'contains' match and would need your help to define the fieldtype and query for this requirement. Value stored in SOLR: transfer responsibility transfer account Now, I want the above document to be returned for the below keyword when I

Re: Help required with SolrJ

2018-02-19 Thread Shawn Heisey
On 2/19/2018 8:49 AM, Aakanksha Gupta wrote: > Thanks for the quick solution. It works. I just had to replace %20 to space > in query.addFilterQuery("timestamp:[151890840 TO 151891200]"); > > Thanks a ton! :) Right, I didn't even really look closely at what was in the fq parameter, I

Re: Help required with SolrJ

2018-02-19 Thread Erick Erickson
Aakanksha: Be a little careful here, filter queries with timestamps can be tricky. The example you have is fine, but for end-points with finer granularity may be best if you don't cache them, see: https://lucidworks.com/2012/02/23/date-math-now-and-filter-queries/ Best, Erick On Mon, Feb 19,

Re: Help required with SolrJ

2018-02-19 Thread Aakanksha Gupta
Hi Shawn, Thanks for the quick solution. It works. I just had to replace %20 to space in query.addFilterQuery("timestamp:[151890840 TO 151891200]"); Thanks a ton! :) On Mon, Feb 19, 2018 at 11:43 PM, Shawn Heisey wrote: > On 2/19/2018 6:44 AM, Aakanksha Gupta

Re: Help required with SolrJ

2018-02-19 Thread Shawn Heisey
On 2/19/2018 6:44 AM, Aakanksha Gupta wrote: http://localhost:8983/solr/geoloc/select/?q=*:*={!geofilt}=latlong=-6.08165,145.8612430=100=json=timestamp:[151890840%20TO%20151891200]=*,_dist_:geodist() But I'm not sure how to build the SolrJ equivalent of this query using SolrQuery. I

Help required with SolrJ

2018-02-19 Thread Aakanksha Gupta
Hi all, I'm looking for some help with SolrJ for querying spatial data. I have the following URL query working fine, where it returns the results which are within 100km radius from the 'pt' provided in the URL and where the timestamp field is between the two timestamps provided in the URL. It also

Re: Help with Boolean search using Solr parser edismax

2018-02-02 Thread Wendy2
jobs. Thanks for al your help and support! All the best, Wendy a happy Solr user :-) -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Help with Boolean search using Solr parser edismax

2018-02-02 Thread Wendy2
Hi Erick, Thank you very much for the clarification. I will keep it in my mind since we are now in the process of migrating MySQL database to mongoDB. Best Regards, Wendy a happy Solr user -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Help with Boolean search using Solr parser edismax

2018-02-02 Thread Erick Erickson
>From the ref guide: "Field names should consist of alphanumeric or underscore characters only and not start with a digit. This is not currently strictly enforced, but other field names will not have first class support from all components and back compatibility is not guaranteed." You need to

Re: Help with Boolean search using Solr parser edismax

2018-02-02 Thread Wendy2
Good morning, Emir, Thanks for letting me know that. I used dots to add tableName. as a field prefix because several columns from different tables have the same names. In your opinion, what will be the best way to replace dots? Happy Friday! Wendy -- Sent from:

Re: Help with Boolean search using Solr parser edismax

2018-02-02 Thread Erick Erickson
>From the reference guide: Field names should consist of alphanumeric or underscore characters only and not start with a digit. This is not currently strictly enforced, but other field names will not have first class support from all components and back compatibility is not guaranteed. Best,

Re: Help with Boolean search using Solr parser edismax

2018-02-02 Thread Emir Arnautović
Hi Wendy, A bit off-topic, but forgot to mention in previous mail: dots in field names are not recommended. Even it obviously works for you, I think I’ve seen people reporting some issues caused by dot in field names (I cannot find some reference now). So, if you plan some system upgrade in the

Re: Help with Boolean search using Solr parser edismax

2018-02-01 Thread Wendy2
And the coupon has no expiration date on it (LOL). Thank you again, Emir! Best Regards, Wendy -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Help with Boolean search using Solr parser edismax

2018-02-01 Thread Emir Arnautović
Wendy2 <wendy@rcsb.org> wrote: > > Excellent!!! Thank you so much for all your help, Emir! > > Both worked now and I got 997 result counts back as the expected number :-) > > /rcsb/search?q=method:"x-ray*" "Solution NMR"=1 > /rcsb/search?q=+method:

Re: Help with Boolean search using Solr parser edismax

2018-02-01 Thread Wendy2
Excellent!!! Thank you so much for all your help, Emir! Both worked now and I got 997 result counts back as the expected number :-) /rcsb/search?q=method:"x-ray*" "Solution NMR"=1 /rcsb/search?q=+method:"x-ray*" +"Solution NMR"=1 I will keep this

Re: Help with Boolean search using Solr parser edismax

2018-02-01 Thread Emir Arnautović
t for case 1f-a (q=method:"x-ray*" "Solution NMR"), > 1f-b (q=+method:"x-ray*" +"Solution NMR"). both returned zero counts. It > looks that the querystrings are the same. Thanks for following up on my > post and your help! -- We

Re: Help with Boolean search using Solr parser edismax

2018-02-01 Thread Wendy2
Good morning, Emir, Here are the debug output for case 1f-a (q=method:"x-ray*" "Solution NMR"), 1f-b (q=+method:"x-ray*" +"Solution NMR"). both returned zero counts. It looks that the querystrings are the same. Thanks for followi

Re: Help with Boolean search using Solr parser edismax

2018-01-31 Thread Emir Arnautović
& Elasticsearch Consulting Support Training - http://sematext.com/ > On 31 Jan 2018, at 19:39, Wendy2 <wendy@rcsb.org> wrote: > > Hi Emir, > > Listed below are the debugQuery outputs from query without "OR" operator. I > really appreciate your help! --Wendy

Re: Help with Boolean search using Solr parser edismax

2018-01-31 Thread Wendy2
Hi Emir, Listed below are the debugQuery outputs from query without "OR" operator. I really appreciate your help! --Wendy ===DebugQuery Outputs for case 1f-a, 1f-b without "OR" operator= *1f-a (/search?q=+method:"x-ray*" +method:&qu

Re: Help with Boolean search using Solr parser edismax

2018-01-31 Thread Emir Arnautović
h to support Boolean search and I am facing this issue. Thank you again for all your help and support! --Wendy ===DebugQuery Outputs for case 1d, 1e, 1f = *1d(/search?q=method:"x-ray*"):* result counts = 884 "debug":{ "rawquerys

Re: Help with Boolean search using Solr parser edismax

2018-01-31 Thread Wendy2
lts :-). Now we want to expand our text search to support Boolean search and I am facing this issue. Thank you again for all your help and support! --Wendy ===DebugQuery Outputs for case 1d, 1e, 1f = *1d(/search?q=method:"x-ray*"):* result counts = 884 "de

Re: Help with Boolean search using Solr parser edismax

2018-01-31 Thread Emir Arnautović
Hi Wendy, I see several issues, but not sure if any of them is the reason why you are not getting what you expect: * there are no spaces around OR and that results in query being parsed sometimes with OR, e.g. (pdb_id:OR\”Solution)^5 * wildcard in quotes - it is not handled as you expected - the

Re: Help with Boolean search using Solr parser edismax

2018-01-30 Thread Wendy2
Hi Emlr, Thank you for reading my post and for your reply. I updated my post with debug info and a better view of the definition of /search request handler. Any suggestion on what I should try? Thanks, Wendy -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Help with Boolean search using Solr parser edismax

2018-01-30 Thread Wendy2
Hi Emir, Thank you so much for your response. I updated my post with an image which display the configuration of the /search request handler. Any suggestions? Thanks, Wendy -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Help with Boolean search using Solr parser edismax

2018-01-30 Thread Emir Arnautović
Hi Wendy, It is most likely that you need to list fields that can appear in query using uf. The best way to see what is going on is to use debugQuery and you can see more details how your query is parsed. HTH, Emir -- Monitoring - Log Management - Alerting - Anomaly Detection Solr &

Help with Boolean search using Solr parser edismax

2018-01-29 Thread Wendy2
Hi Solr users,I am having an issue on boolean search with Solr parser edismax. The search "OR" doesn't work. The image below shows the different results tested on different Solr versions. There are two types of search requester handlers, /select vs /search. The /select requester uses Lucene

Re: Need help with solr highlighting feature

2018-01-18 Thread Steve Rowe
Hi Aashish, Thanks for letting us know. -- Steve www.lucidworks.com > On Jan 17, 2018, at 1:41 PM, Aashish Agarwal wrote: > > Hello Steve, > > Sorry to disturb, the issue was due to custom tokenizer that I used. Since > that was not storing offset so term vector was not

Re: Need help with solr highlighting feature

2018-01-17 Thread Aashish Agarwal
Hello Steve, Sorry to disturb, the issue was due to custom tokenizer that I used. Since that was not storing offset so term vector was not working. Its resolved now. On Jan 17, 2018 11:06 PM, "Steve Rowe" wrote: > Hi Aashish, > > Which version of Solr are you using? > >

Re: Need help with solr highlighting feature

2018-01-17 Thread Steve Rowe
Hi Aashish, Which version of Solr are you using? Please share your configuration: highlighter and schema. -- Steve www.lucidworks.com > On Jan 16, 2018, at 12:20 PM, Aashish Agarwal wrote: > > Hello, > > I am using solr highlighting feature on multivalued field

Need help with solr highlighting feature

2018-01-16 Thread Aashish Agarwal
Hello, I am using solr highlighting feature on multivalued field containing korean words.The feature is not working as expected. Search is working fine but in case of highlighting it gives response as . I am storing term vector for the field and it is also stored=true. Please reply soon. Need

Re: help on implicit routing

2017-12-26 Thread Erick Erickson
copyField is _much_ too late. That only happens _after_ the doc lands on a shard, i.e. after it's been routed. The routing field must be populated before that stage. Why are you bothering with the _route_ field anyway? It's unnecessary. First of all, the name of the shard must match the value in

RE: help on implicit routing

2017-12-25 Thread hemanth
I am trying here implicit routing and want to create a collection with 3 shards with names Active,Inactive and Terminated. I created a _route_ field in schema and copied my status field which contains Active or Inactive or Terminated. I used copyfield in schema.xml to copy from status to _route_.

RE: FW: Need Help Configuring Solr To Work With Nutch

2017-12-11 Thread Mukhopadhyay, Aratrika
thank you for your help. Your tip about the numDocs put me on the right track . Aratrika -Original Message- From: Rick Leir [mailto:rl...@leirtech.com] Sent: Saturday, December 09, 2017 10:25 AM To: solr-user@lucene.apache.org Subject: RE: FW: Need Help Configuring Solr To Work

RE: FW: Need Help Configuring Solr To Work With Nutch

2017-12-09 Thread Rick Leir
> >Kind regards, >Aratrika Mukhopadhyay > >-Original Message- >From: Rick Leir [mailto:rl...@leirtech.com] >Sent: Friday, December 08, 2017 4:06 PM >To: solr-user@lucene.apache.org >Subject: Re: FW: Need Help Configuring Solr To Work With Nutch > >Ara >So

RE: FW: Need Help Configuring Solr To Work With Nutch

2017-12-08 Thread Mukhopadhyay, Aratrika
, December 08, 2017 4:06 PM To: solr-user@lucene.apache.org Subject: Re: FW: Need Help Configuring Solr To Work With Nutch Ara Softcommit might be the default in Solrconfig.xml, and if not then you should probably make it so. Then you need to have a look in solr.log if things are not working as you

Re: FW: Need Help Configuring Solr To Work With Nutch

2017-12-08 Thread Rick Leir
ika.mukhopadh...@mail.house.gov> wrote: >Erick, >Do I need to set the softCommit = true and prepareCommit to true in my >solrconfig ? I am still at a loss as to what is happening. Thanks again >for your help. > >Aratrika > >From: Mukhopadhyay, Aratrika >Sent: Friday, December

FW: Need Help Configuring Solr To Work With Nutch

2017-12-08 Thread Mukhopadhyay, Aratrika
Erick, Do I need to set the softCommit = true and prepareCommit to true in my solrconfig ? I am still at a loss as to what is happening. Thanks again for your help. Aratrika From: Mukhopadhyay, Aratrika Sent: Friday, December 08, 2017 11:34 AM To: solr-user <solr-user@lucene.apache.

RE: Need Help Configuring Solr To Work With Nutch

2017-12-08 Thread Mukhopadhyay, Aratrika
Mukhopadhyay -Original Message- From: Erick Erickson [mailto:erickerick...@gmail.com] Sent: Friday, December 08, 2017 11:06 AM To: solr-user <solr-user@lucene.apache.org> Subject: Re: Need Help Configuring Solr To Work With Nutch 1> do you see update messages in the Solr logs? 2> d

Re: Need Help Configuring Solr To Work With Nutch

2017-12-08 Thread Erick Erickson
o provide assistance. Can someone > please help ? > > > > This is what I see when I index into solr. I see no errors. > > > > > > > > Regards, > > Aratrika Mukhopadhyay >

Need Help Configuring Solr To Work With Nutch

2017-12-08 Thread Mukhopadhyay, Aratrika
. I am stuck and need someone who is familiar with solr/nutch to provide assistance. Can someone please help ? This is what I see when I index into solr. I see no errors. [cid:image001.png@01D3700F.37209960] Regards, Aratrika Mukhopadhyay

Re: [EXTERNAL] - Re: Basic SolrCloud help

2017-12-01 Thread Shawn Heisey
On 11/30/2017 8:53 AM, Steve Pruitt wrote: > I took the hint and looked at both solr.in.cmd and solr.in.sh. Clearly > setting ZK_HOST is a first step. I am sure this is explained somewhere, but > I overlooked it. > From here, once I have Solr installed, I can run the Control Script to upload

RE: [EXTERNAL] - Re: Basic SolrCloud help

2017-11-30 Thread Steve Pruitt
Thanks Shawn, it all mainly made sense. I took the hint and looked at both solr.in.cmd and solr.in.sh. Clearly setting ZK_HOST is a first step. I am sure this is explained somewhere, but I overlooked it. From here, once I have Solr installed, I can run the Control Script to upload a config

Re: Basic SolrCloud help

2017-11-29 Thread Shawn Heisey
On 11/29/2017 11:44 AM, Steve Pruitt wrote: > I want ZK to manage the config files. The config set and the solr.xml file. > I wanted to upload them explicitly. > > This is where my questions begin. > I assume I upload the config files prior to starting Solr? If you're storing solr.xml in ZK,

Basic SolrCloud help

2017-11-29 Thread Steve Pruitt
A couple of steps are still not clear to me. Currently, I have my schema defined. Plus, I have six VM's. I have ZK running on three of the VM's. Now I want to get a SolrCloud cluster running on other three. I may use only two VM's and use my local machine as the third node. I want ZK to manage

Re: help get 'count of distinct' using solr via cql against datastax?

2017-11-26 Thread Shawn Heisey
ng created by the Solr project. You're going to need to talk to either the Cassandra project or DataStax for help with CQL. Most questions about DataStax are best handled by them, even if they concern Solr, because they do a lot of customization of Solr, and only they are going to know how they've got

help get 'count of distinct' using solr via cql against datastax?

2017-11-26 Thread lamelylounges
Hi all, I have a datastax (DSE) server with cassandra. I am running the node in "search" mode, which means solr is enabled and working. I want to use CQL to write a query against my core/table. If this were a traditional SQL, here is how I would write it: SELECT COUNT(DISTINCT my_field) FROM

Re: Please help me with solr plugin

2017-11-23 Thread Alexandre Rafalovitch
Haven't done it myself, but maybe these could be useful: https://github.com/DiceTechJobs/SolrPlugins https://github.com/leonardofoderaro/alba Regards, Alex. http://www.solr-start.com/ - Resources for Solr users, new and experienced On 21 November 2017 at 05:22, Zara Parst

Re: Please help me with solr plugin

2017-11-21 Thread Binoy Dalal
Zara, If you're looking for custom search components, request handlers or update processors, you can check out my github repo with examples here: https://github.com/bdalal/SolrPluginsExamples/ On Tue, Nov 21, 2017 at 3:58 PM Emir Arnautović < emir.arnauto...@sematext.com> wrote: > Hi Zara, >

Re: Please help me with solr plugin

2017-11-21 Thread Emir Arnautović
Hi Zara, What sort of plugins are you trying to build? What sort os issues did you run into? Maybe you are not too far from having running custom plugin. I would recommend you try running some of existing plugins as your own - just to make sure that you are able to build and configure custom

Please help me with solr plugin

2017-11-21 Thread Zara Parst
Hi, I have spent too much time learning plugin for Solr. I am about give up. If some one has experience writing it. Please contact me. I am open to all options. I want to learn it at any cost. Thanks Zara

Re: Help with complex boolean search queries

2017-11-20 Thread Gajendra Dadheech
Hey Ankit, Try this tool for a better view of your debug output, and then if you have any specific question, do let me know : http://splainer.io/ On Sun, Oct 29, 2017 at 2:34 AM, Ankit Shah wrote: > Hi, > I am new to the solr community, and have this weird problem with

Re: Can someone help? Two level nested doc... ChildDocTransformerFactory sytax...

2017-11-07 Thread Mikhail Khludnev
you can chain two [subquery] transformer, but really it's better to receive them flat and sort child and grands across levels in post processing. On Tue, Nov 7, 2017 at 4:05 AM, Petersen, Robert (Contr) < robert.peters...@ftr.com> wrote: > OK no faceting, no filtering, I just want the hierarchy

Re: Can someone help? Two level nested doc... ChildDocTransformerFactory sytax...

2017-11-07 Thread Petersen, Robert (Contr)
From: Petersen, Robert (Contr) <robert.peters...@ftr.com> Sent: Monday, November 6, 2017 5:05:31 PM To: solr-user@lucene.apache.org Subject: Can someone help? Two level nested doc... ChildDocTransformerFactory sytax... OK no faceting, no filtering, I just want the hie

Can someone help? Two level nested doc... ChildDocTransformerFactory sytax...

2017-11-06 Thread Petersen, Robert (Contr)
OK no faceting, no filtering, I just want the hierarchy to come backin the results. Can't quite get it... googled all over the place too. Doc: { id : asdf, type_s:customer, firstName_s:Manny, lastName_s:Acevedo, address_s:"123 Fourth Street", city_s:Gotham, tn_s:1234561234,

Help with complex boolean search queries

2017-10-28 Thread Ankit Shah
Hi, I am new to the solr community, and have this weird problem with the search results here is whats going on. i have a logfile that is indexed into solr with the following config < tokenizer class="solr.StandardTokenizerFactory"/> here is a sample for demonstration purpose, assume

Re: Need help detecting Relatedness in documents

2017-10-26 Thread Atita Arora
ns alongside indexing which extracts the topics from > the blogposts and stores them in a different collection. > For this we have lot of duplicates on the index too , for e.g. a topicname > search "football" has around 80K documents , all of them are > topicname="football".

Re: Need help detecting Relatedness in documents

2017-10-26 Thread Anshum Gupta
licates on the index too , for e.g. a topicname > search "football" has around 80K documents , all of them are > topicname="football". > > I wonder if someone can help me : > 1. How to structure the document in such a way the queries could be more > performant

Need help detecting Relatedness in documents

2017-10-26 Thread Atita Arora
the index too , for e.g. a topicname search "football" has around 80K documents , all of them are topicname="football". I wonder if someone can help me : 1. How to structure the document in such a way the queries could be more performant 2. Suggest me as to how can we de

Re: Need help with Slow Query Logging

2017-10-17 Thread Walter Underwood
> where slowQueryLogFile and if present it logs into this file otherwise it >> works on the already present along with >> >> slowQueryThresholdMillis = getInt("query/slowQueryThresholdMillis", -1); >> >> >> or should I tweak log4j ? >> I am not sure if anyone has done that before or have any pointers to guide >> me on this. >> Please help. >> >> Thanks in advance, >> Atita >

Re: Need help with Slow Query Logging

2017-10-12 Thread Atita Arora
r & Elasticsearch Consulting Support Training - > http://sematext.com/ > >>> > >>> > >>> > >>>> On 10 Oct 2017, at 13:35, Atita Arora <atitaar...@gmail.com> wrote: > >>>> > >>>> Hi Emir, > >>>

Re: Need help with Slow Query Logging

2017-10-12 Thread Emir Arnautović
, >>>> >>>> So I made few changes to the log4j config , I am able to redirect these >>>> logs to another file as well. >>>> But as these are the WARN logs so I doubt any logs enabled at WARN level >>>> are going to be redirected here in th

Re: Need help with Slow Query Logging

2017-10-10 Thread Atita Arora
irected here in this new log file. >> > So precisely , I am using Solr 6.1 (in cloud mode) & I have made few >> more >> > changes to the logging levels and components. >> > Please find my log4j at : *https://pastebin.com/uTLAiBE5 >> > <https://pasteb

Re: Need help with Slow Query Logging

2017-10-10 Thread Atita Arora
t these > > logs to another file as well. > > But as these are the WARN logs so I doubt any logs enabled at WARN level > > are going to be redirected here in this new log file. > > So precisely , I am using Solr 6.1 (in cloud mode) & I have made few more > > changes

Re: Need help with Slow Query Logging

2017-10-10 Thread Emir Arnautović
mponents. > Please find my log4j at : *https://pastebin.com/uTLAiBE5 > <https://pastebin.com/uTLAiBE5>* > > Any help on this will surely be appreciated. > > Thanks again. > > Atita > > > On Tue, Oct 10, 2017 at 1:39 PM, Emir Arnautović < > emir.arnauto...@

Re: Need help with Slow Query Logging

2017-10-10 Thread Atita Arora
have made few more changes to the logging levels and components. Please find my log4j at : *https://pastebin.com/uTLAiBE5 <https://pastebin.com/uTLAiBE5>* Any help on this will surely be appreciated. Thanks again. Atita On Tue, Oct 10, 2017 at 1:39 PM, Emir Arnautović < emir.arnauto...

Re: Need help with Slow Query Logging

2017-10-10 Thread Emir Arnautović
file otherwise it > works on the already present along with > > slowQueryThresholdMillis = getInt("query/slowQueryThresholdMillis", -1); > > > or should I tweak log4j ? > I am not sure if anyone has done that before or have any pointers to guide > me on this. > Please help. > > Thanks in advance, > Atita

Need help with Slow Query Logging

2017-10-09 Thread Atita Arora
this file otherwise it works on the already present along with slowQueryThresholdMillis = getInt("query/slowQueryThresholdMillis", -1); or should I tweak log4j ? I am not sure if anyone has done that before or have any pointers to guide me on this. Please help. Thanks in advance, Atita

Re: Installation help

2017-09-19 Thread john999
I have been worked on solr cloud before 3-4 years. I worked day and night as at that time i was not a linux guy. After lots of nightmare reading I installed solr cloud with external zookeeper.Find here "Solr Cloud Installation with External Zookeeper"

Re: Solr Poc -Help Needed

2017-09-05 Thread Erick Erickson
ey itself. >>I tried to index one file. I am able to configure data config, Solr >>config and Schema file. But I am getting following error while >>indexing: >> >>org.apache.solr.common.SolrException: Document is missing mandatory >>uniqueKey field: id. >>

Re: Solr Poc -Help Needed

2017-09-05 Thread Rick Leir
ield: id. > >Please find attached config files and data files which I am using. > >Kindly help me in fixing this issue: > >Regards >Harshal -- Sorry for being brief. Alternate email is rickleir at yahoo dot com

Re: Solr query help

2017-08-18 Thread Tim Casey
ing the data it should fetch like 03/15/2017 for the > first > > > doc and so on. > > > > > > My requirement is like this .. > > > > > > > > > The data is like above and when I do an fq with name:[2017/03/15 TO > > > 2

Re: Solr query help

2017-08-18 Thread Webster Homer
ches me the 1st three documents.. but the need the data > > as 03/15/2017 instead of 2017/03/15. > > > > > > I tried solr.pattetnReplaceCharFilterFactory but it doesn't seem > working.. > > > > Can you please help on the above. > > > > > >

Re: Solr query help

2017-08-17 Thread Nawab Zada Asad Iqbal
nstead of 2017/03/15. > > > I tried solr.pattetnReplaceCharFilterFactory but it doesn't seem working.. > > Can you please help on the above. > > > Thanks in advance > > > Krishna... >

Solr query help

2017-08-17 Thread chiru s
working.. Can you please help on the above. Thanks in advance Krishna...

Re: Help with Query/Function for conditional boost

2017-08-16 Thread Ahmet Arslan
orum^5 Among the searchable fields, command gets the highest preference. To add to that,I would like to see boost results from source help further when a query term exists in command field. With my current setting, documents from forum are appearing at the top when a search term is found in command

Help with Query/Function for conditional boost

2017-08-16 Thread Shamik Bandopadhyay
source:forum^5 Among the searchable fields, command gets the highest preference. To add to that,I would like to see boost results from source help further when a query term exists in command field. With my current setting, documents from forum are appearing at the top when a search term is found

Re: Need help with query syntax

2017-08-11 Thread Erick Erickson
logic, see: >> https://lucidworks.com/2011/12/28/why-not-and-or-and-not/. >> >> With appropriate parentheses it can give the same results as you're >> discovering. >> >> Best >> Erick >> >> On Thu, Aug 10, 2017 at 3:00 PM, OTH <omer.t...

Re: Need help with query syntax

2017-08-11 Thread OTH
ses it can give the same results as you're > discovering. > > Best > Erick > > On Thu, Aug 10, 2017 at 3:00 PM, OTH <omer.t....@gmail.com> wrote: > > Thanks for the help! > > That's resolved the issue. > > > > On Fri, Aug 11, 2017 at 1:48 AM, David

Re: Need help with query syntax

2017-08-10 Thread Dave
rentheses it can give the same results as you're > discovering. > > Best > Erick > >> On Thu, Aug 10, 2017 at 3:00 PM, OTH <omer.t@gmail.com> wrote: >> Thanks for the help! >> That's resolved the issue. >> >> On Fri, Aug 11, 2017 at 1:4

Re: Need help with query syntax

2017-08-10 Thread Erick Erickson
t; Thanks for the help! > That's resolved the issue. > > On Fri, Aug 11, 2017 at 1:48 AM, David Hastings < > hastings.recurs...@gmail.com> wrote: > >> type:value AND (name:america^1+name:state^1+name:united^1) >> >> but in reality what you want to do is use the fq para

Re: Need help with query syntax

2017-08-10 Thread OTH
Thanks for the help! That's resolved the issue. On Fri, Aug 11, 2017 at 1:48 AM, David Hastings < hastings.recurs...@gmail.com> wrote: > type:value AND (name:america^1+name:state^1+name:united^1) > > but in reality what you want to do is use the fq parameter with type:value >

Re: Need help with query syntax

2017-08-10 Thread David Hastings
merica^1+name:state^1", it seems. > > I tried putting an "AND" between everything, like so: > select?q=type:value+AND+name:america^1+AND+name:state^1+AND+name:united^1 > But this, of course, would only return documents which contain all the > tokens {america,

Need help with query syntax

2017-08-10 Thread OTH
t;AND" between everything, like so: select?q=type:value+AND+name:america^1+AND+name:state^1+AND+name:united^1 But this, of course, would only return documents which contain all the tokens {america, state, united}; whereas I need all documents which contain any of those tokens. If anyone coul

Re: Help with updateHandler commit stats

2017-07-17 Thread Amrit Sarkar
Antonio, I think it is itself suggesting what it is. Meanwhile in official documentation: autocommits Total number of auto-commits executed. so yeah, total number of commits executed in the core's lifetime. Look into:

RE: help on implicit routing

2017-07-10 Thread imran
Thanks for the reference, I am guessing this feature is not available through the post utility inside solr/bin Regards, Imran Sent from Mail for Windows 10 From: Jan Høydahl Sent: Friday, July 7, 2017 1:51 AM To: solr-user@lucene.apache.org Subject: Re: help on implicit routing http

Help with updateHandler commit stats

2017-07-07 Thread Antonio De Miguel
Hi, I'm taking a look to UpdateHandler stats... and i see when autosoftcommit occurs (every 10 secs) both metrics, "commits" and "soft autocommits" increments by one. ¿is this normal? My config is: autoCommit: 180 secs autoSoftCommit: 10 secs Thanks!

Re: help on implicit routing

2017-07-07 Thread Jan Høydahl
http://lucene.apache.org/solr/guide/6_6/shards-and-indexing-data-in-solrcloud.html -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 6. jul. 2017 kl. 03.15 skrev im...@elogic.pk: >

RE: help on implicit routing

2017-07-07 Thread imran
Thanks that was helpful, can this be done without modifying the document also when posting data through the post utility or a java client? Regards, Imran Sent from Mail for Windows 10 From: Susheel Kumar Sent: Thursday, July 6, 2017 7:52 AM To: solr-user@lucene.apache.org Subject: Re: help

Re: help on implicit routing

2017-07-06 Thread Susheel Kumar
Eric has provided the details on other email. See below Use the _route_ field and put in "day_1" or "day_2". You've presumably named the shards (the "shard" parameter) when you added them with the CREATESHARD command so use the value you specified there. Best, Erick On Wed, Jul 5, 2017

Re: help on implicit routing

2017-07-05 Thread Erick Erickson
Use the _route_ field and put in "day_1" or "day_2". You've presumably named the shards (the "shard" parameter) when you added them with the CREATESHARD command so use the value you specified there. Best, Erick On Wed, Jul 5, 2017 at 6:15 PM, wrote: > I am trying out the

help on implicit routing

2017-07-05 Thread imran
I am trying out the document routing feature in Solr 6.4.1. I am unable to comprehend the documentation where it states that “The 'implicit' router does not automatically route documents to different shards. Whichever shard you indicate on the indexing request (or within each document) will be

Re: help with troubleshooting apache solr 6.3.0

2017-05-25 Thread Susheel Kumar
the node, i see that it is creating a new index and deleting > existing one > once this is done node, comes back online > we have sharding and each shard has two nodes primary and secondary > > can you please help us in identify what is causing this > > Thanks > Aravind >

help with troubleshooting apache solr 6.3.0

2017-05-25 Thread aravind.jan...@proquest.com
We have Apache Solr 6.3.0 Some the nodes go to recover mode randomly when i SSH to the node, i see that it is creating a new index and deleting existing one once this is done node, comes back online we have sharding and each shard has two nodes primary and secondary can you please help us

Help reviewing json facet api query

2017-05-16 Thread Mandar Deshpande
Hi, Could anyone please help reviewing the below json facet api query. After updating to json facet api we are getting strange results in which the count (uniqueCount) for the first facet bucket is correct and the remaining are either 0 or incorrect. Below are the both the solr query urls

Need help in understanding solr clustering component

2017-05-10 Thread yauza
oes we call the clustering algorithms twice and adding it to the resulted cluster? Am I missing something? Wont it create too many labels if in the worst case none of the cluster labels match? P.S Please correct me if I am wrong. -- View this message in context: http://lucene.472066.n3.nabble.com/

Need Help on solr for Email Search

2017-05-08 Thread Udaya Ganga Santosh Kumar Palivela
HI Team, We are using solr for Quick retrieval of search result. Recently we are encountered with a problem while searching for Email in solr. search is performing well when i enter simple text ,but When i enter any special characters (Like @ ,(comma)) it is not returning any results. i have

<    1   2   3   4   5   6   7   8   9   10   >