Re: FieldCache error for multivalued fields in json facets.

2015-07-13 Thread Upayavira
On Mon, Jul 13, 2015, at 06:55 AM, Iana Bondarska wrote: > Hi, > I'm using json query api for solr 5.2. When query for metrics for > multivalued fields, I get error: > can not use FieldCache on multivalued field: sales. > > I've found in solr wiki that to avoid using fieldcache I should set > fa

Re: Solr "search in different servers based on search keyword"

2015-07-13 Thread Alessandro Benedetti
Hi Arijit, let me clarify some points, ok? 2015-07-13 6:22 GMT+01:00 Arijit Saha : > Hi Solr/ lucene Experts, > > We are planning to build a solr/ lucene search application. > > As per design requirement, the files (on which search operation require to > be done) will be lying in separate server

Re: Suggester configuration queries.

2015-07-13 Thread ssharma7...@gmail.com
Hi, I am using the Solr Terms Component for auto-suggestion, this provides me the functionality as per my requirements. https://wiki.apache.org/solr/TermsComponent Regards, Sachin Vyas. -- View this message in context: http://lucene.472066.n3.nabble.com/Suggester-configuration-queries-tp4214

Re: Suggester configuration queries.

2015-07-13 Thread ssharma7...@gmail.com
Hi, For my reply dated "Jul 02, 2015; 4:47pm", Actually *there is no difference in results* for "spellchecker" & "suggester" components in Solr 4.6 and Solr 5.1. I was actually mixing up the two components. Thanks & Regards, Sachin Vyas. -- View this message in context: http://lucene.472066.n

Re: Suggester configuration queries.

2015-07-13 Thread ssharma7...@gmail.com
Hi, For my reply dated "Jul 02, 2015; 4:47pm", for my scenario / test data, the results of Spellchecker of Solr 4.6 & 5.1 are fine. Also, the results of Suggester of Solr 4.6 & 5.1 are fine. I was mixing up the two components. Thanks & Regards, Sachin Vyas. -- View this message in context:

Re: Suggester configuration queries.

2015-07-13 Thread Alessandro Benedetti
Using the term component to get Auto-suggest is a very old approach, and gives minimal features… If it is ok for you, ok! I would suggest these reading for Auto suggestions : Suggester Solr wiki Solr suggester

Re: Trouble getting a solr join query done

2015-07-13 Thread Antonio David Pérez Morales
Hi again Yusnel Just to confirm, I have tested your use case and the query which returns what you need is this one: http://localhost:8983/solr/category/select?q={!join from=categoryId fromIndex=product to=id}*:*&wt=json&indent=true&fq=name:clothes&hl=false Please, check and let us know if it wor

Re: Trouble getting a solr join query done

2015-07-13 Thread Alessandro Benedetti
I was to comment the very same solution! I think this will satisfy the user requirement. Thanks Antonio! Cheers 2015-07-13 12:22 GMT+01:00 Antonio David Pérez Morales < adperezmora...@gmail.com>: > Hi again Yusnel > > Just to confirm, I have tested your use case and the query which returns > wha

Re: Restore index API does not work in solr 5.1.0 ?

2015-07-13 Thread dinesh naik
Hi all, How can we restore index in Solr 5.1.0 ? Best Regards, Dinesh Naik On Thu, Jul 9, 2015 at 6:54 PM, dinesh naik wrote: > Hi all, > > How can we restore the index in Solr 5.1.0 ? > > We did following: > > 1:- Started Solr Cloud from: > > bin/solr start -e cloud -noprompt >

Field collapsing on parent document

2015-07-13 Thread StrW_dev
Hello, I use a blockjoin document structure with 3 levels (base, path and attributes). I am performing a facet query to count the number of different attributes, but I would like to group or collapse them at path level. I can easily collapse them on base (by using _root_), but I want them to be g

RE: Lingo3g-Solr integration - ClassNotFoundException: com.google.common.base.MoreObjects

2015-07-13 Thread Mandris, Collin
Just a quick update, The version of Lingo3G (1.12.0) does not seem compatible with the older version of Guava packaged with Solr. Switching to an older version of Lingo3G has resolved the issue. Thanks for the help! Collin Collin Mandris Associate Engineer, Software Defense Solutions Division

Multiple facet fields Query

2015-07-13 Thread Phansalkar, Ajeet
Hi, If I want to add facet on multiple fields I am typically adding multiple facet.fields as part of the query. &facet=true & facet.field= & facet.field= Is there another way to do this instead of using the facet.field multiple time but using only say &facet.field=,. I am running into issue i

Re: Multiple facet fields Query

2015-07-13 Thread Upayavira
On Mon, Jul 13, 2015, at 03:09 PM, Phansalkar, Ajeet wrote: > Hi, > > If I want to add facet on multiple fields I am typically adding multiple > facet.fields as part of the query. > > &facet=true & facet.field= & facet.field= > > Is there another way to do this instead of using the facet.field

Querying Nested documents

2015-07-13 Thread rameshn
Hi, I have question regarding nested documents.My document looks like below, 1234xger00parent 2015-06-15T13:29:07ZegeDuperhttp://www.domain.com zoome1234-images http

Highlighting pre and post tags not working

2015-07-13 Thread Paden
Hello, I'm trying to get some Solr highlighting going but I've run into a small problem. When I set the pre and post tags with my own custom tag I get an XML error XML Parsing Error: mismatched tag. Expected: . Location: file:///home/paden/Downloads/solr-5.1.0/server/solr/Testcore2/conf/solrconfi

Re: FieldCache error for multivalued fields in json facets.

2015-07-13 Thread Yonik Seeley
On Mon, Jul 13, 2015 at 1:55 AM, Iana Bondarska wrote: > Hi, > I'm using json query api for solr 5.2. When query for metrics for > multivalued fields, I get error: > can not use FieldCache on multivalued field: sales. > > I've found in solr wiki that to avoid using fieldcache I should set > facet.

Re: Highlighting pre and post tags not working

2015-07-13 Thread Erik Hatcher
Within XML, angle brackets must be escaped as < and > > On Jul 13, 2015, at 12:19 PM, Paden wrote: > > Hello, > > I'm trying to get some Solr highlighting going but I've run into a small > problem. When I set the pre and post tags with my own custom tag I get an > XML error > > XML Parsing

Re: Highlighting pre and post tags not working

2015-07-13 Thread Upayavira
You need to "xml encode" the tags. So instead of , put and instead of put Upayavira On Mon, Jul 13, 2015, at 05:19 PM, Paden wrote: > Hello, > > I'm trying to get some Solr highlighting going but I've run into a small > problem. When I set the pre and post tags with my own custom tag

Re: Highlighting pre and post tags not working

2015-07-13 Thread Erick Erickson
Try or The bare < and > confuse the XML parsing. Best Erick On Mon, Jul 13, 2015 at 9:19 AM, Paden wrote: > Hello, > > I'm trying to get some Solr highlighting going but I've run into a small > problem. When I set the pre and post tags with my own custom tag I get an > XML error > > XML P

Re: Planning Solr migration to production: clean and autoSoftCommit

Hi Erick, That status request shows if the Solr instance is "busy" or "idle". I think this is a doable option to check if the indexing process completed (idle) or not (busy). Now, I have some concern about the solution of not using the default polling mechanism from the slave instance to the mast

Re: Planning Solr migration to production: clean and autoSoftCommit

bq: When the slave instances poll the indexing instance (master), do these slave instances also auto warm queries in the existing cache Yes. bq: When we talk about the "forced replication" solution, are we pushing /overwriting all the old index files with the new index files? I believe so, but d

RE: Multiple facet fields Query

Indeed, it is built into the HTML Forms specification that any query parameter may be repeated any number of times. If your ESB tool didn't support this, it would be very broken. My expectation is that it does and a bit more debugging and/or research into the product will yield results.

XML File Size for Post.jar

HI, Where I have to change to support the xml file more than 2GB to Index in Solr, using the simple post tool (post.jar) for Jetty and Tomcat. Thanks Ravi

Re: XML File Size for Post.jar

I don't think you can do files that big. The memory would blow out. You sure you cannot chunk it into smaller document sets? Or make it a streaming parsing with DIH in a pull fashion? Regards, Alex. Solr Analyzers, Tokenizers, Filters, URPs and even a newsletter: http://www.solr-start.com/

RE: XML File Size for Post.jar

I Can break that into smaller files but for other case the number of files growing in 100s.. Can I Parse XML Files to DIH..? Can you refer few examples..? Thanks Ravi -Original Message- From: Alexandre Rafalovitch [mailto:arafa...@gmail.com] Sent: Monday, July 13, 2015 3:01 PM To: so

RE: Solr cloud error during document ingestion

Shawn, Here are my responses: >> Is that the entire error, or is there additional error information? Do >> you have any way to know exactly what is in that request that's throwing >> the error? That's the entire error stack. Don’t see anything else in solr log. Probably need to turn on additiona

copying data from one collection to another collection (solr cloud 521)

Hi, We are setting up a new SolrCloud environment with 5.2.1 on Ubuntu boxes. We currently ingest data into a large collection, call it LIVE. After the full ingest is done we then trigger a delta delta ingestion every 15 minutes to get the documents & data that have changed into this LIVE insta

Re: copying data from one collection to another collection (solr cloud 521)

Actually, my question is why do it this way at all? Why not index directly to your "live" nodes? This is what SolrCloud is built for. There's the new backup/restore functionality that's still a work in progress, see: https://issues.apache.org/jira/browse/SOLR-5750 You an use "implicit" routing to

Re: Planning Solr migration to production: clean and autoSoftCommit

Hi Erick, I think this is good solution. It is going to work although I have not implemented with Http API which I was able to find in https://wiki.apache.org/solr/SolrReplication. In my local machine, a total of 800MB of index files were "downloaded" within a minute to another folder. However, t

Re: XML File Size for Post.jar

Solr ships with XML processing example for DIH in the examples directory (RSS core). In your case, you will most probably read the filelist or directory list and then run XML processor as a nested entity. So, check the nested example at https://cwiki.apache.org/confluence/display/solr/Uploading+Str

Re: copying data from one collection to another collection (solr cloud 521)

On 7/13/2015 1:49 PM, Raja Pothuganti wrote: > We are setting up a new SolrCloud environment with 5.2.1 on Ubuntu boxes. We > currently ingest data into a large collection, call it LIVE. After the full > ingest is done we then trigger a delta delta ingestion every 15 minutes to > get the documen

Re: XML File Size for Post.jar

If you have hundreds of files, the post command (SimplePostTool) can also push a directory of files up to Solr. (It is called "Simple" under the hood, but it is far from "simple"!) Upayavira On Mon, Jul 13, 2015, at 09:28 PM, Alexandre Rafalovitch wrote: > Solr ships with XML processing example

Persistence problem with swapped cores after Solr restart -- 4.9.1

On Solr 4.9.1 with core discovery, I seem to be having trouble with core swaps not persisting through a full Solr restart. I apologize for the fact that this message is lean on details ... I've seen the problem twice now, but I don't have any concrete before/after information about what's in each

Range Facet queries for date ranges with with non-constant gaps

I am trying to do a range facet query for on date ranges. The query below executes and returns results (almost) as desired for 60DAY buckets. http://localhost:8983/solr/mykeyspace2.user_data/select?wt=json&fq:id=7465033&q=*:*&rows=0&indent=true&facet=on&facet.range=login_event&facet.range.gap=%

Re: copying data from one collection to another collection (solr cloud 521)

Thank you Erick >Actually, my question is why do it this way at all? Why not index >directly to your "live" nodes? This is what SolrCloud is built for. >You an use "implicit" routing to create shards say, for each week and >age out the ones that are "too old" as well. Any updates to EXISTING docu

RE: Range Facet queries for date ranges with with non-constant gaps

Try facet.mincount=1. It will still apply to range facets. -Original Message- From: JoeSmith [mailto:fidw...@gmail.com] Sent: Monday, July 13, 2015 5:56 PM To: solr-user Subject: Range Facet queries for date ranges with with non-constant gaps I am trying to do a range facet query f

Re: Querying Nested documents

Hi Rameshn, I would suggest you to rewrite your mail. It is really heavy to understand! Try to format your document and nested document in a nice way ( remember a document is a map field-> value), let's try to not over complicate the things ! Furthermore, try to express the query as well not encod

Re: Querying Nested documents

Hi rameshn, Nabble has a nasty habit of stripping out HTML and XML markup before sending your mail out to the mailing list - see your message quoted below for how it appears to people who aren’t reading via Nabble. My suggestion: directly subscribe to the solr-user mailing list[1] and avoid Na

Re: Range Facet queries for date ranges with with non-constant gaps

: Some of the buckets return with a count of ‘0’ in the bucket even though : the facet.range.min is set to ‘1’. That is not the primary issue facet.range.min has never been a supported (or documented) param -- you are most likeley trying to use "facet.mincount" (which can be specified per fi

Re: Range Facet queries for date ranges with with non-constant gaps

Are there any examples/documentation for IntervalFaceting using dates that I could refer to? On Mon, Jul 13, 2015 at 6:36 PM, Chris Hostetter wrote: > > : Some of the buckets return with a count of ‘0’ in the bucket even though > : the facet.range.min is set to ‘1’. That is not the primary issu

Why I get a hit on %, &, but not on !, @, #, $, ^, *

Hi Everyone, I think the subject line said it all. Here is the schema I'm using: I'm guessing this is due to how solr.WhitespaceTokenizerFactory works and those that it is not indexing are removed because they are considered "white-spaces"? If so, how can I include %, &, etc. in

Querying Nested documents

(Duplicate post as the xml is not formatted well in nabble, so posting directly to the list) Hi, I have question regarding nested documents. My document looks like below, 1234 xger 0 0 2015-06-15T13:29:07Z ege Duper

Re: Querying Nested documents

My sincere Apologies. Re-submitted directly to the list. Thank you. -- View this message in context: http://lucene.472066.n3.nabble.com/Querying-Nested-documents-tp4217088p4217166.html Sent from the Solr - User mailing list archive at Nabble.com.

RE: Running Solr 5.2.1 on WIndows using NSSM

Hi Edwin, Sorry for the late reply. Was caught up yesterday. Yes I did not use the start.jar command and followed this article using solr.cmd - http://www.norconex.com/how-to-run-solr5-as-a-service-on-windows/. I am using a Windows Server 2012 R2 Server. The article example shows that it pass

Re: Why I get a hit on %, &, but not on !, @, #, $, ^, *

The word delimiter filter is remmoving special characters. You can add a file containing a list of the special characters that you wish to treat as alpha, using the "type" parameter. -- Jack Krupansky On Mon, Jul 13, 2015 at 6:43 PM, Steven White wrote: > Hi Everyone, > > I think the subject li

Re: Why I get a hit on %, &, but not on !, @, #, $, ^, *

Oops... that's the "types" attribute. -- Jack Krupansky On Mon, Jul 13, 2015 at 11:11 PM, Jack Krupansky wrote: > The word delimiter filter is remmoving special characters. You can add a > file containing a list of the special characters that you wish to treat as > alpha, using the "type" param

Re: copying data from one collection to another collection (solr cloud 521)

bq: does offline No. I'm talking about "collection aliasing". You can create an entirely new collection, index to it however you want then switch to using that new collection. bq: Any updates to EXISTING document in the LIVE collection should NOT be replicated to the previous week(s) snapsho

Re: Querying Nested documents

what about? http://localhost:8983/solr/demo/select?q={!parent%20which=%27type:parent%27}&fl=*,[child%20parentFilter=type:parent%20childFilter=-type:parent]&indent=true -- Sincerely yours Mikhail Khludnev Principal Engineer, Grid Dynamics

Re: Persistence problem with swapped cores after Solr restart -- 4.9.1

Uggghh. Not persistence again I'll stay tuned.. Erick On Mon, Jul 13, 2015 at 2:44 PM, Shawn Heisey wrote: > On Solr 4.9.1 with core discovery, I seem to be having trouble with core > swaps not persisting through a full Solr restart. > > I apologize for the fact that this message is lean on

Re: Running Solr 5.2.1 on WIndows using NSSM

Adrian, Do you know if this script creates a config file somewhere? Would it be possible/helpful to have a script in Solr's /bin to run it as a service? e.g.: bin\install_solr_service.cmd It would assume these defaults: -nssm "c:\Program Files\nssm\win64\nssm" -servicename "Solr" -st

Re: Persistence problem with swapped cores after Solr restart -- 4.9.1

On 7/13/2015 10:02 PM, Erick Erickson wrote: > Uggghh. Not persistence again > > I'll stay tuned.. While gathering every possible detail I could during the index rebuild, I came across what I believe is the cause of my problems. What I found is no surprise: PEBCAK. All of the core.propertie

Implementing MoreLikeThis feature

Hi, I'm using Solr 5.2.1 and I'm trying to implement MoreLikeThis feature in Solr. But the results that I've been getting for the MoreLikeThis has not been accurate so far. I've been getting the entire documents in the collection returned in the "response" section even though the documents has no