Re: backport Heliosearch features to Solr

2015-03-09 Thread Alexandre Rafalovitch
Ask and you shall receive: SOLR-7210 Off-Heap filter cache SOLR-7211 Off-Heap field cache SOLR-7212 Parameter substitution SOLR-7214 JSON Facet API SOLR-7216 JSON Request API Regards, Alex. P.s. Oh, the power of GMail filters :-) Solr Analyzers, Tokenizers, Filters, URPs and even a newslet

Solr 5.0.0 - Multiple instances sharing Solr server *read-only* dir

2015-03-09 Thread Damien Dykman
Hi all, Quoted from https://cwiki.apache.org/confluence/display/solr/Solr+Start+Script+Reference "When running multiple instances of Solr on the same host, it is more common to use the same server directory for each instance and use a unique Solr home directory using the -s option." Is there a w

RE: backport Heliosearch features to Solr

2015-03-09 Thread Markus Jelsma
Ok, so what's next? Do you intend to open issues and send the links over here so interested persons can follow them? Clearly some would like to see features to merge. Let's see what the PMC thinks about it :) Cheers, M. -Original message- > From:Yonik Seeley > Sent: Monday 9th March

Field Rename in SOLR

2015-03-09 Thread EXTERNAL Taminidi Ravi (ETI, AA-AS/PAS-PTS)
Hello, Can anyone know how to rename a field with the below field Name. When I try the below method it says undefined field "Name_en" &fl=ProductName:Name_en-US It throws error saying undefined field 'Name_en', it is not recognizing the full field name.. 'Name_en-US' Is there any work around..

Re: Performance on faceting using docValues

2015-03-09 Thread lei
The term histograms are shared in this link. Sorry for the confusion. https://docs.google.com/presentation/d/1tma4hkYjxJfBTnMbO6Pq_dUHqZ0wI_UTlgoVqXtW4ZA/pub?start=false&loop=false&delayms=3000&slide=id.p > On Mon, Mar 9, 2015 at 10:56 AM, Anshum Gupta > wrote: > >> Hi Lei, >> >> The mailing li

Re: Performance on faceting using docValues

2015-03-09 Thread lei
Sure, here is the link to the image of term histograms. Thanks. https://docs.google.com/presentation/d/1tma4hkYjxJfBTnMbO6Pq_dUHqZ0wI_UTlgoVqXtW4ZA/edit?usp=sharing On Mon, Mar 9, 2015 at 10:56 AM, Anshum Gupta wrote: > Hi Lei, > > The mailing list doesn't allow attachments. Can you share these

Re: backport Heliosearch features to Solr

2015-03-09 Thread Yonik Seeley
Thanks everyone for voting! Result charts (note that these auto-generated charts don't show blanks as equivalent to "0") https://docs.google.com/forms/d/1gaMpNpHVdquA3q75yiFhqZhAWdWB-K6N8Jh3dBbWAU8/viewanalytics Raw results spreadsheet (correlations can be interesting), and percentages at the bot

Re: Frequency of Suggestion are varying from original Frequency in index

2015-03-09 Thread Nitin Solanki
Hi ale42, Yes. I am using the same field (gram_ci) to make a query and also using the same field(gram_ci) to build suggestion on it. Here is the explanation: I have a 2 fields - gram and gram_ci. where gram field sets to stored = true and index = true while gram_ci field sets to stor

Re: Performance on faceting using docValues

2015-03-09 Thread Anshum Gupta
Hi Lei, The mailing list doesn't allow attachments. Can you share these via a file sharing platform? On Mon, Mar 9, 2015 at 12:48 AM, lei wrote: > The Solr instance is single-shard. Index size is around 20G and total doc > # is about 12 million. Below are the histograms for the three facet fiel

Re: Apache Solr Reference Guide 5.0

2015-03-09 Thread Chris Hostetter
: The TOC I meant was as in a traditional print publication with section #s, I believe supressing the printed page TOC was a deliberate choice made in the PDF stylesheet ... IIRC it was about 10 (printed) pages long and didn't seem to add any value since hte PDF metadata seemed much more usefu

Parsing cluster result's docs

2015-03-09 Thread Jorge Luis Lazo
Hi, I have a Solr instance using the clustering component (with the Lingo algorithm) working perfectly. However when I get back the cluster results only the ID's of these come back with it. What is the easiest way to retrieve full documents instead? Should I parse these IDs into a new query to Sol

RE: Solr TCP layer

2015-03-09 Thread Reitzel, Charles
A couple thoughts: 0. Interesting topic. 1. But perhaps better suited to the dev list. 2. Given the existing architecture, shouldn't we be looking to transport projects, e.g. Jetty, Apache HttpComponents, for support of new socket or even HTTP layer protocols? 3. To the extent such support exists

Re: SolrCloud: Chroot error

2015-03-09 Thread Shawn Heisey
On 3/9/2015 10:03 AM, Aman Tandon wrote: > Thanks for replying, Just to send the mail, I replaced the IP addresses > with the imaginary hostname, now the command is > > *./solr start -c -z localhost:2181,abc.com:2181 > ,xyz.com:2181/home/aman/solrcloud/solr_zoo >

Re: SolrCloud: Chroot error

2015-03-09 Thread Anshum Gupta
If you 1. Don't know about chroot and 2. Don't have other apps using the same zk and no other requirement to change the default; don't change the defaults. The zk string then should just point to host1:port1,host2:port2... String without the /path/in/zk part. -Anshum > On Mar 9, 2015, at 8:

Re: SolrCloud: Chroot error

2015-03-09 Thread Aman Tandon
Hi Shawn, Thanks for replying, Just to send the mail, I replaced the IP addresses with the imaginary hostname, now the command is *./solr start -c -z localhost:2181,abc.com:2181 ,xyz.com:2181/home/aman/solrcloud/solr_zoo -p 4

Re: SolrCloud: Chroot error

2015-03-09 Thread Aman Tandon
Hi Anshum, Thanks for your time. I am using the external zookeeper. I am unaware that where should i create the path in Zk. The directory structure for zookepeer is as follows: Zookeeper */ *instance / bin,etc Zookeeper / data Zookeeper / logs instance (contains bin,etc folders of zookeeper se

Re: SolrCloud: Chroot error

2015-03-09 Thread Shawn Heisey
On 3/9/2015 9:19 AM, Aman Tandon wrote: > I tried to start solr with chroot feature, i am using solr 5.0.0 on Centos > 6 and i am getting this error in the logs. Please help. > > *./solr start -c -z localhost:2181,192.168.5.11:2181 > ,192.168.3.13:2181/home/aman/solrcloud/

Re: Solr packages in Apache BigTop.

2015-03-09 Thread Scott Stults
Jay, This is music to my ears. I've used the bigtop packages and would love to see the Solr portion of them keep pace with releases. Let me know where to start! Thank you, Scott On Sat, Mar 7, 2015 at 5:03 PM, jay vyas wrote: > Hi Solr. > > I work on the apache bigtop project, and am interes

Re: SolrCloud: Chroot error

2015-03-09 Thread Anshum Gupta
Looks like the zk you're pointing to doesn't contain the path 'data/solr/aman/solr_cloud' that you've specified as the chroot prefix. Can you confirm that your zk contains this path? If it doesn't, can you create this path and then try? On Mon, Mar 9, 2015 at 8:19 AM, Aman Tandon wrote: > Hi, >

Re: Solr query to match document "templates" - sort of a reverse wildcard match

2015-03-09 Thread david.w.smi...@gmail.com
A Lucene MultiPhraseQuery would work, with each phrase position having two Terms -- the as-seen word in the query and the term ‘?’. Performance wouldn’t be so great given that ‘?’ would appear extremely frequently. A variation solving the performance is to use CommonGrams but it would add some co

SolrCloud: Chroot error

2015-03-09 Thread Aman Tandon
Hi, I tried to start solr with chroot feature, i am using solr 5.0.0 on Centos 6 and i am getting this error in the logs. Please help. *./solr start -c -z localhost:2181,192.168.5.11:2181 ,192.168.3.13:2181/home/aman/solrcloud/solr_zoo

RE: Combine multiple SOLR Query Results

2015-03-09 Thread Reitzel, Charles
Hi AnilJayanti, You shouldn't need 2 separate solr queries. Just make sure both 'track name' and 'artist name' fields are queried. Solr will rank and sort the results for you. e.q. q=foo&qf=trackName,artistName This is preferable for a number of reasons. I will be faster and simpler. But

RE: SpellCheck component query

2015-03-09 Thread Reitzel, Charles
Hi Ashish, We are doing some very close to what you describe. As Aman says, it requires two solr queries to achieve that result. I.e. you need to build this logic into your application. Solr won't do it for you.In our case, for the second query, we use a faceted results against an ng

Re: Solr query to match document "templates" - sort of a reverse wildcard match

2015-03-09 Thread Alexandre Rafalovitch
Are you looking for Luwak? https://github.com/flaxsearch/luwak Regards, Alex. Solr Analyzers, Tokenizers, Filters, URPs and even a newsletter: http://www.solr-start.com/ On 6 March 2015 at 09:19, Robert Stewart wrote: > If I have SOLR document with field value such as: > > "a ? c ? e" >

RE: Solr query to match document "templates" - sort of a reverse wildcard match

2015-03-09 Thread Reitzel, Charles
Have a look at solr.StopFilterFactory. https://cwiki.apache.org/confluence/display/solr/Filter+Descriptions#FilterDescriptions-StopFilter If your place holders (?) are works like and, the, is, to, etc (see lang/stopwords_??.txt), the stop filter is designed to do what you want. It leaves

RE: Check the return of suggestions

2015-03-09 Thread ale42
Thanks for your answer Charlie, Reitzel, Charles wrote > / > It looks like your search term and index are both subject to a stem > filter. Is that right? / > > Yes, that is right and that is what I want ! / > To avoid the default query parser for spellcheck purposes, you might try > spellcheck

How to get MoreLikeThis result

2015-03-09 Thread sumanta.pak...@wipro.com
I'm trying to understand how Solr MorelIkeThis works. Steps I've done - 1. In schema.xml I've written - 2. Mentioned path_exact 3. Created index in solr by using below command - {"path_exact":"id1","title":"x1"} {"path_exact":"id2","title":"x12"} 4. Now when I'm trying to hit the below u

RE: Check the return of suggestions

2015-03-09 Thread Reitzel, Charles
Hi Alex, It looks like your search term and index are both subject to a stem filter. Is that right? To avoid the default query parser for spellcheck purposes, you might try spellcheck.q=cartouche. But that may not be sufficient if the spellcheck field is also "aggressively" stemmed. I.e.

Re: Solr Document expiration with TTL

2015-03-09 Thread Alexandre Rafalovitch
Great, Thank you for confirming. This will help other people seeing similar kinds of issues. Regards, Alex. Solr Analyzers, Tokenizers, Filters, URPs and even a newsletter: http://www.solr-start.com/ On 9 March 2015 at 05:02, Makailol Charls <4extrama...@gmail.com> wrote: > Hi, > > As su

Re: Cores and and ranking (search quality)

2015-03-09 Thread johnmunir
(reposing this to see if anyone can help) Help me understand this better (regarding ranking). If I have two docs that are 100% identical with the exception of uid (which is stored but not indexed). In a single core setup, if I search "xyz" such that those 2 docs end up ranking as #1 and #2.

IllegalArgumentException: Unknown type of result: class javax.xml.transform.dom.DOMResult

2015-03-09 Thread Clemens Wyss DEV
I am seeing the following stacktrace(s): Caused by: java.lang.IllegalArgumentException: Unknown type of result: class javax.xml.transform.dom.DOMResult at net.sf.saxon.event.SerializerFactory.getReceiver(SerializerFactory.java:154) ~[netcdfAll.jar:4.5.4] at net.sf.saxon.Identity

Re: Solr TCP layer

2015-03-09 Thread Shalin Shekhar Mangar
Hi Saumitra, I've been thinking of adding http/2 support for inter node communication initially and client server communication next in Solr. There's a patch for SPDY support but now that spdy is deprecated and http/2 is the new standard we need to wait for Jetty 9.3 to release. That will take car

Combine multiple SOLR Query Results

2015-03-09 Thread aniljayanti
Hi, I am trying to work on combine multiple SOLR query results into single result. Below is my case. 1. Look up search term against ‘track name’, log results 2. Look up search term against ‘artist name’, log results of tracks by those artists 3. Combine results 4. results by

Re: 4.10.4 - nodes up, shard without leader

2015-03-09 Thread Ramkumar R. Aiyengar
The update log replay issue looks like https://issues.apache.org/jira/browse/SOLR-6583 On 9 Mar 2015 01:41, "Mark Miller" wrote: > Interesting bug. > > First there is the already closed transaction log. That by itself deserves > a look. I'm not even positive we should be replaying the log we > re

Re: Parsing cluster result's docs

2015-03-09 Thread Stanislaw Osinski
Hi, > I have a Solr instance using the clustering component (with the Lingo > algorithm) working perfectly. However when I get back the cluster results > only the ID's of these come back with it. What is the easiest way to > retrieve full documents instead? Should I parse these IDs into a new que

Re: Frequency of Suggestion are varying from original Frequency in index

2015-03-09 Thread ale42
When you make a query, does it use the same field type as the field that you are using to build suggestions? -- View this message in context: http://lucene.472066.n3.nabble.com/Frequency-of-Suggestion-are-varying-from-original-Frequency-in-index-tp4190927p4191813.html Sent from the Solr - User

Re: Frequency of Suggestion are varying from original Frequency in index

2015-03-09 Thread Nitin Solanki
I am using field as standardTokenizerFactory with ShingleFilterFactory. Is it doing so? On 3/9/15, ale42 wrote: > So, I think it's depend on the field that you are working on ?! > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Frequency-of-Suggestion-are-varying-fro

Re: Solr Document expiration with TTL

2015-03-09 Thread Makailol Charls
Hi, As suggested, we could manage to activate the document expiration using TTL by shifting the newly added URP setting in the starting of the add-unknown-fields-to-the-schema URP. That populates the "expire_at_dt" field and makes document to expire after defined TTL. Many Thanks, Makailol On Fr

Re: Solr Document expiration with TTL

2015-03-09 Thread Makailol Charls
Hi, As suggested, we could manage to activate the document expiration using TTL by shifting the newly added URP setting in the starting of the add-unknown-fields-to-the-schema URP. That populates the "expire_at_dt" field and makes document to expire after defined TTL. Many Thanks, Makailol On Fr

Re: Frequency of Suggestion are varying from original Frequency in index

2015-03-09 Thread ale42
So, I think it's depend on the field that you are working on ?! -- View this message in context: http://lucene.472066.n3.nabble.com/Frequency-of-Suggestion-are-varying-from-original-Frequency-in-index-tp4190927p4191800.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Performance on faceting using docValues

2015-03-09 Thread lei
The Solr instance is single-shard. Index size is around 20G and total doc # is about 12 million. Below are the histograms for the three facet fields in my query. Thanks. On Thu, Mar 5, 2015 at 11:57 PM, Toke Eskildsen wrote: > On Thu, 2015-03-05 at 21:14 +0100, lei wrote: > > You present a very