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:

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 https://cwiki.apache.org/confluence/display/solr/Suggester Solr suggester

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 dineshkumarn...@gmail.com 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

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 what you

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: 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=jsonindent=truefq=name:clotheshl=false Please, check and let us know if it works

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 arijitsaha...@gmail.com: 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

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:

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

2015-07-13 Thread Erick Erickson
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)

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

2015-07-13 Thread Erick Erickson
Uggghh. Not persistence again I'll stay tuned.. Erick On Mon, Jul 13, 2015 at 2:44 PM, Shawn Heisey apa...@elyograg.org 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

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

2015-07-13 Thread Jack Krupansky
Oops... that's the types attribute. -- Jack Krupansky On Mon, Jul 13, 2015 at 11:11 PM, Jack Krupansky jack.krupan...@gmail.com 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,

Re: Running Solr 5.2.1 on WIndows using NSSM

2015-07-13 Thread Upayavira
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 -start

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

2015-07-13 Thread Jack Krupansky
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 swhite4...@gmail.com wrote: Hi Everyone, I

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

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

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=field1 facet.field=field2 Is there another way to do this instead of using the facet.field multiple time but using only say facet.field=field1,field2. I am

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=field1 facet.field=field2 Is there another way to do this instead of using the

Re: Querying Nested documents

2015-07-13 Thread Mikhail Khludnev
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 http://www.griddynamics.com mkhlud...@griddynamics.com

RE: Running Solr 5.2.1 on WIndows using NSSM

2015-07-13 Thread Adrian Liew
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

Re: XML File Size for Post.jar

2015-07-13 Thread Alexandre Rafalovitch
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:

RE: XML File Size for Post.jar

2015-07-13 Thread EXTERNAL Taminidi Ravi (ETI, AA-AS/PAS-PTS)
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:

RE: Solr cloud error during document ingestion

2015-07-13 Thread Tarala, Magesh
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 additional

RE: Multiple facet fields Query

2015-07-13 Thread Reitzel, Charles
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

2015-07-13 Thread EXTERNAL Taminidi Ravi (ETI, AA-AS/PAS-PTS)
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: Highlighting pre and post tags not working

2015-07-13 Thread Upayavira
You need to xml encode the tags. So instead of em, put lt;emgt; and instead of /em put lt;/emgt; 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

Re: Highlighting pre and post tags not working

2015-07-13 Thread Erick Erickson
Try str name=hl.simple.prelt;emgt;/str or str name=hl.simple.pre![CDATA[em]]/str The bare and confuse the XML parsing. Best Erick On Mon, Jul 13, 2015 at 9:19 AM, Paden rumsey...@gmail.com wrote: Hello, I'm trying to get some Solr highlighting going but I've run into a small problem. When

Re: Planning Solr migration to production: clean and autoSoftCommit

2015-07-13 Thread wwang525
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 master

Re: Planning Solr migration to production: clean and autoSoftCommit

2015-07-13 Thread Erick Erickson
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

Re: Highlighting pre and post tags not working

2015-07-13 Thread Erik Hatcher
Within XML, angle brackets must be escaped as lt; and gt; On Jul 13, 2015, at 12:19 PM, Paden rumsey...@gmail.com 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

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 yana2...@gmail.com 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

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: /em. Location:

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

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

2015-07-13 Thread Shawn Heisey
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 documents

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

2015-07-13 Thread Raja Pothuganti
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

Re: Planning Solr migration to production: clean and autoSoftCommit

2015-07-13 Thread wwang525
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,

Re: XML File Size for Post.jar

2015-07-13 Thread Upayavira
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 for

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

2015-07-13 Thread Erick Erickson
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: XML File Size for Post.jar

2015-07-13 Thread Alexandre Rafalovitch
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

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

2015-07-13 Thread JoeSmith
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 hossman_luc...@fucit.org 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

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

2015-07-13 Thread Steven White
Hi Everyone, I think the subject line said it all. Here is the schema I'm using: fieldType name=my_text class=solr.TextField positionIncrementGap=100 autoGeneratePhraseQueries=true analyzer tokenizer class=solr.WhitespaceTokenizerFactory/ filter class=solr.StopFilterFactory ignoreCase=true

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

2015-07-13 Thread Raja Pothuganti
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 document in

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

2015-07-13 Thread Chris Hostetter
: 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

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

2015-07-13 Thread JoeSmith
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.

Re: Querying Nested documents

2015-07-13 Thread Alessandro Benedetti
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

Persistence problem with swapped cores after Solr restart -- 4.9.1

2015-07-13 Thread Shawn Heisey
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

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

2015-07-13 Thread Reitzel, Charles
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

Re: Querying Nested documents

2015-07-13 Thread Steve Rowe
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

Querying Nested documents

2015-07-13 Thread Ramesh Nuthalapati
(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, doc field name=id1234/field field name=pk_idxger/field field name=title_t![CDATA[title]]/field

Re: Querying Nested documents

2015-07-13 Thread rameshn
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: 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