Need help in velocity search UI

2015-06-02 Thread Jeetendra Gangele
Hi All I was trying to modify the "facet_fields.vm" do anybody know where is the location of the function "url_for_facet_filter "? Also where will be log stored ?

Re: Need help in velocity search UI

2015-06-02 Thread Michał B . .
Look at the VM_global_library.vm file. Regards, Michal 2015-06-02 10:47 GMT+02:00 Jeetendra Gangele : > Hi All I was trying to modify the "facet_fields.vm" do anybody know where > is the location of the function "url_for_facet_filter "? > > Also where will be log stored ? > -- Michał Bieńkow

Re: Need help in velocity search UI

2015-06-02 Thread Jeetendra Gangele
Hi Michael Thanks for your reply. I got this is an macro. I am trying to modify the facet_fields.vm. how it works is like for each $ field.name, $facet.name it gives the result. But now what I want is I want user to select multiple facets from fields and once user hit the filter button which I p

Re: Derive suggestions across multiple fields

2015-06-02 Thread Alessandro Benedetti
Hi Edwin, I have worked extensively recently in Suggester and the blog I feel to suggest is Erick's one. It's really detailed and good for a beginner and expert as well. [1] Apart that let's see you particular use case : 1) Do you want to be able to get also where the suggestions are coming from

Re: Number of clustering labels to show

2015-06-02 Thread Alessandro Benedetti
The scope in there is to try to make clustering lighter and more related to the query. The summary produced is a fragment that is surrounding the query terms in the document content. Actually this is arguably a way to improve the quality of clusters, but for sure it makes the clustering operation l

Re: Need help in velocity search UI

2015-06-02 Thread Michał B . .
HI, Look how bf field is done. You could simply add hidden field with name 'fq' and in JS append values to it. Regards, Michal 2015-06-02 11:17 GMT+02:00 Jeetendra Gangele : > Hi Michael > > Thanks for your reply. I got this is an macro. > > I am trying to modify the facet_fields.vm. how it wor

all terms and frequency

2015-06-02 Thread Chaushu, Shani
Hi, There is a way to use the Solr API to see all the words in all the documents and their frequency in each document? I saw the term vector component but couldn't see any way to see the vector for each word... Thanks, Shani -

Spellcheck across multiple collections

2015-06-02 Thread Zheng Lin Edwin Yeo
Hi, Is there a way to collate the spellcheck across different collection? I understand that for select query, this can be done by setting collection=collection1,collection2 at the query. However, when I do that for spellcheck, Solr did not return me any result on the spellcheck when I entered a w

Re: Best strategy for logging & security

2015-06-02 Thread Vishal Swaroop
I am using log4j.properties which logs core name with each query... Is there a way to generate separate logs for each core ? Regards On Mon, Jun 1, 2015 at 2:13 PM, Rajesh Hazari wrote: > Logging : > > Just use logstash to a parse your logs for all collection and logstash > forwarder and lumb

Re: Need help in velocity search UI

2015-06-02 Thread Jeetendra Gangele
what is bf field and where can I find? On 2 June 2015 at 15:42, Michał B. . wrote: > HI, > > Look how bf field is done. You could simply add hidden field with name 'fq' > and in JS append values to it. > > Regards, > Michal > > 2015-06-02 11:17 GMT+02:00 Jeetendra Gangele : > > > Hi Michael > >

Re: Need help in velocity search UI

2015-06-02 Thread Michał B . .
It's 'Boost by Price' field in default velocity template. You can find it in query.vm. R. Michał 2015-06-02 13:28 GMT+02:00 Jeetendra Gangele : > what is bf field and where can I find? > > On 2 June 2015 at 15:42, Michał B. . wrote: > > > HI, > > > > Look how bf field is done. You could simply

Re: Need help in velocity search UI

2015-06-02 Thread Jeetendra Gangele
Hey Michal thanks for your reply. Actually I am beginner I am listing below steps to perform. 1. add entry in query.vm add hidden field with name 'fq' 2. now through js append in this field My problem is ,facet_fields.vm is another file how can I get 'fq' access this in another file? Can you he

Re: SolrCloud 5.1 startup looking for standalone config

2015-06-02 Thread tuxedomoon
ok thanks, continuing... >> numShards in SOLR_OPTS isn't a good idea, what happens if you want to >> create a collection with 5 shards?) yes I was following my old pattern CATALINA_OPTS="${CATALINA_OPTS} -DnumShards=n >> down the nodes and nuke the directories you created by hand and bring the >>

Re: Index optimize runs in background.

2015-06-02 Thread Modassar Ather
Erick! I could not find any underlying setting of 10 minutes. It is not only optimize but commit is also behaving in the same fashion and is taking lesser time than usually had taken. As per my observation both are running in background. On Fri, May 29, 2015 at 7:21 PM, Erick Erickson wrote: > I

index time boosting through partial update

2015-06-02 Thread Sankalp Gupta
Hi I'm using solr-4.7.2 and trying to set boost at field level at index time in atomic updates(tried though xml update handler). But its not happening. Also if you index the full doc with index time boost and update any other field partially then also the boost value of other field changes to 1.0.

Re: Need help in velocity search UI

2015-06-02 Thread Michał B . .
Jeetendra, It doesn't matter if it is a different file it is included in result page so its content is available for you. At the beginning I suggest for you an exercise in which you could at simple html input and find out that it is in URL. Than try to modify it in JS and than name it fq :) regar

AW: Occasionally getting error in solr suggester component.

2015-06-02 Thread Clemens Wyss DEV
Thanks! -Ursprüngliche Nachricht- Von: Erick Erickson [mailto:erickerick...@gmail.com] Gesendet: Montag, 1. Juni 2015 17:26 An: solr-user@lucene.apache.org Betreff: Re: Occasionally getting error in solr suggester component. Attach suggester.build=true or suggester.buildAll=true to any r

Re: Sorting in Solr

2015-06-02 Thread Steven White
Hi Erick, I didn't know this isn't memory bound, but it got to be CPU bound, no? Thanks Steve On Mon, Jun 1, 2015 at 12:27 PM, Erick Erickson wrote: > Steve: > > Surprisingly, the number of hits is completely irrelevant for the > memory requirements for sorting. The base memory size is, AFAIK

Problem add document

2015-06-02 Thread antoine charron
Hi, I have a problem with an encode to index in solr. You can have more information on : http://stackoverflow.com/questions/30531051/solr-error-when-update-a-document?noredirect=1#comment49152956_30531051 Thanks a lot, Sincerely, Uruca

Solr Atomic Updates

2015-06-02 Thread Ксения Баталова
Hi! I'm using *SOLR 4.4.0* for searching in my project. Now I am facing a problem of atomic updates in multiple cores. >From wiki: curl *http://localhost:8983/solr/update *-H 'Content-type:application/json' -d ' [ { "*id*": "*TestDoc1*", "title"

Looking for doc on LimitTokenCountFilterFactory

2015-06-02 Thread Steven White
Hi everyone I cannot find much useful info on LimitTokenCountFilterFactory other than the format and the attributes it takes per this link: http://lucene.apache.org/core/4_3_0/analyzers-common/org/apache/lucene/analysis/miscellaneous/LimitTokenCountFilterFactory.html. It is also not mentioned at t

Re: Need help in velocity search UI

2015-06-02 Thread Upayavira
Jeetendra, Just be aware that /browse is great for demo UIs, but shouldn't be used in production, as it has no authentication. Also, from a development perspective, it lacks a controller meaning you may need to use javascript to fix URLs/etc. Upayavira On Tue, Jun 2, 2015, at 02:50 PM, Michał B

Re: Problem add document

2015-06-02 Thread Upayavira
Please post the whole question here. Many people read mail offline - they won't be able to understand your request. Thanks! On Tue, Jun 2, 2015, at 02:43 PM, antoine charron wrote: > Hi, I have a problem with an encode to index in solr. You can have more > information on : > http://stackoverflow.

Re: all terms and frequency

2015-06-02 Thread Rajesh Hazari
Yes, we can get all the distinct terms from each collection solr index using the below call http://{host}:{port}/solr/collection1/admin/luke?wt=json&fl=field&numTerms=2 the "fields":{.} of response is your distinct terms in that collection. I'm sure we can get this using solrj also but never

Re: Looking for doc on LimitTokenCountFilterFactory

2015-06-02 Thread Jack Krupansky
For most of the filter factory javadoc you need to click on the underlying filter to see the detail doc for the filter. So, see: http://lucene.apache.org/core/4_3_0/analyzers-common/org/apache/lucene/analysis/miscellaneous/LimitTokenCountFilter.html If this filter is not used, there is no limit ot

Re: Solr Atomic Updates

2015-06-02 Thread Jack Krupansky
What exactly is the problem? And why do you care about cores, per se - other than to send the update to the core/collection you are trying to update? You should specify the core/collection name in the URL. You should also be using the Solr reference guide rather than the (old) wiki: https://cwiki

Looking for help in building a configuration that should be simple

2015-06-02 Thread David Patterson
I've been asked to build a sample configuration of SolrCloud using Solr 4.10. I want to have two instances (virtual machines) each with two solr nodes. Let's call the instances 1 and 2, and the nodes 1AO, 1BB, 2AB, and 2BO. I want 1AO to be the owner of that shard with 2AB as the backup, and 2BO

Re: Sorting in Solr

2015-06-02 Thread Erick Erickson
Never meant to imply that it wasn't memory bound! It _is_ memory bound (or at least can be), it's just that the memory consumed isn't proportional to the number of documents matched, but to the total number of documents in your index. Although that all said, once all the structures are in memory, t

Re: Looking for help in building a configuration that should be simple

2015-06-02 Thread Erick Erickson
What have you tried? Have you worked with the Collections API? See: https://cwiki.apache.org/confluence/display/solr/Collections+API, and note that in th eupper left you can download older versions of the ref guide, including 4.10. I'd really advise against getting hung up on this bit of your que

Re: Need help in velocity search UI

2015-06-02 Thread Erik Hatcher
Jeetendra - First steps - implement what you want with static HTML/JavaScript so that you have the interface in place. It can get hairy with the Velocity/HTML/JavaScript/Solr stuff all intermingled*. By doing things statically (without Velocity, and even without Solr) you’ll get the UI piece

Re: Need help in velocity search UI

2015-06-02 Thread Jeetendra Gangele
Thanks Erik for reply. I am building some kind of semantic search for one of the google Hackathon project so I need this UI for Demo only. I already have java script which is allowing user to select multiple facets and I am getting all the facets selecting by user in array in java script. Now I w

Re: Best strategy for logging & security

2015-06-02 Thread Otis Gospodnetic
Logstash is open-source and free. At some point Sematext contributed Solr connector/output to Logstash. Here are some numbers about Logstash (and rsyslog, which is also an option, though it doesn't have Solr output): http://blog.sematext.com/2015/05/18/tuning-elasticsearch-indexing-pipeline-for-l

Re: Need help in velocity search UI

2015-06-02 Thread Erik Hatcher
Jeetendra - Forget about url_for_facet_filter and any other macros (since these were built for the techproducts /browse UI, not necessarily general purpose and not for use with multi-select facets)… just concern yourself with the actual Solr URL that you need to submit. In the example you prov

Re: SolrCloud 5.1 startup looking for standalone config

2015-06-02 Thread tuxedomoon
I ran this command with Solr hosts s1 & s2 running. http://s1:8983/solr/admin/collections?action=CREATE&name=mycollection&numShards=2&collection.configName=mycollection_cloud_conf&createNodeSet=s1:8983,s2:8983 I referred to this link

SolrCloud Composite ID routing problem

2015-06-02 Thread rbkumar88
Hi, I have two set of data(Collections). I want to make a join from one to the other. Is that possible using SolrCloud. I also tried the following. 1. Tried to load both set of documents in a common schema(single collection) so that we can make joins. >From some of the posts, I heard joins can b

Re: SolrCloud 5.1 startup looking for standalone config

2015-06-02 Thread Erick Erickson
Take a closer look at the admin UI>>cloud>>tree and you'll see that the nodes have names like "s1:8983_solr" as does the example at the link, did you try it with that kind of labeling? Best, Erick On Tue, Jun 2, 2015 at 11:16 AM, tuxedomoon wrote: > I ran this command with Solr hosts s1 & s2 run

Re: Derive suggestions across multiple fields

2015-06-02 Thread Zheng Lin Edwin Yeo
Thank you for your explanation. I'll not need to care where the suggestions are coming from. All the suggestions from different fields can be consolidate and display together. I've tried to put those field into a new Suggestion copy field, but no suggestion is shown when I set: Suggestion Is t

Solr OutOfMemory but no heap and dump and oo_solr.sh is not triggered

2015-06-02 Thread Clemens Wyss DEV
Context: Lucene 5.1, Java 8 on debian. 24G of RAM whereof 16G available for Solr. I am seeing the following OOMs: ERROR - 2015-06-03 05:17:13.317; [ customer-1-de_CH_1] org.apache.solr.common.SolrException; null:java.lang.RuntimeException: java.lang.OutOfMemoryError: Java heap space a

Re: Number of clustering labels to show

2015-06-02 Thread Zheng Lin Edwin Yeo
Thank you so much for your explanation. On 2 June 2015 at 17:31, Alessandro Benedetti wrote: > The scope in there is to try to make clustering lighter and more related to > the query. > The summary produced is a fragment that is surrounding the query terms in > the document content. > Actually t