Re: FAcet with " " values are displayes in output

2013-09-18 Thread Upayavira
q=country:[* TO *] will find all docs that have a value in a field. However, it seems you have a space, which *is* a value. I think Eric is right - track down that record and fix the data. Upayavira On Wed, Sep 18, 2013, at 09:23 AM, Prasi S wrote: > How to filter them in the query itself? > > T

Re: FAcet with " " values are displayes in output

2013-09-18 Thread Prasi S
No analysis is done on the facets. The facets are string fields. On Wed, Sep 18, 2013 at 11:59 PM, tamanjit.bin...@yahoo.co.in < tamanjit.bin...@yahoo.co.in> wrote: > Any analysis happening on the country field during indexing? If so then > facets are on tokens. > > > > -- > View this message in

Re: Need help with delta import

2013-09-18 Thread sureshadapa
I am using below configuration file and The problem is I do not see any solr documents committed into Solr Core Selector 'db' When i run full-import,Is give me message. Indexing completed. Added/Updated: 0 documents. Deleted 0 documents. Requests: 1, Fetched: 8, Skipped: 0, Processed: 0 When i ru

Migrating a existing/splited shard to new node

2013-09-18 Thread Uomesh
Hi, We have started working on our current search from master/slave to SolrCloud. I have couple of questions related with expanding the nodes dynamically. Please help. 1. What is best way to migrate an existing shard to new node? is it just a creating a core on new node manually as below or there

Re: SolrCloud - Service unavailable

2013-09-18 Thread Indika Tantrigoda
Thanks Shawn, the links will be useful. I am still not sure if its related due to a timeout because the 503 error is coming from Tomcat, which means the requests are going through. I can access the Solr admin panel and I see a message saying the core was not initialized. Thanks, Indika On 18 Se

Re: Querying a non-indexed field?

2013-09-18 Thread Otis Gospodnetic
Moreover, you may be trying to save/optimize in a wrong place. Maybe these additional indexed fields are not so costly. Maybe you can optimize in some other part of your setup. Otis Solr & ElasticSearch Support http://sematext.com/ On Sep 18, 2013 5:47 PM, "Chris Hostetter" wrote: > > : Subject:

Re: DIH field defaults or re-assigning field values

2013-09-18 Thread Alexandre Rafalovitch
You could also do this in request update processor. There is a default value one there. Also, I think field definition in schema allows defaults. Regards, Alex On 19 Sep 2013 02:20, "P Williams" wrote: > Hi All, > > I'm using the DataImportHandler to import documents to my index. I assign >

RE: Solr 4.4.0: Plugin init failure for [schema.xml] analyzer/tokenizer

2013-09-18 Thread Abhijith Jain -X (abhijjai - DIGITAL-X INC at Cisco)
Thanks for the reply. * Following are the jars placed in "tomcat/lib" dir: annotations-api.jar el-api.jarjsp-api.jar lucene-core.jar solr-core-1.3.0.jar tomcat-dbcp.jar catalina-ant.jar jasper-el.jar

Merge problem with lucene 3 and 4 indices

2013-09-18 Thread Harry Hight
We have a process that builds small indices, and merges them into the master, and are in the process of going from solr 3.5 to solr 4.3. So, during this process we are going to have to merge indices built with solr 3 with ones built with solr 4. I'm running into a problem with an index built from

Re: Querying a non-indexed field?

2013-09-18 Thread Chris Hostetter
: Subject: Re: Querying a non-indexed field? : : No. --wunder To elaborate just a bit... : query on a few indexed fields, getting a small # of results. I want to : restrict this further based on values from non-indexed, stored fields. : I can obviously do this myself, but it would be nice

Re: solr performance against oracle

2013-09-18 Thread Furkan KAMACI
Martin Fowler and Sadagale has a nice book about such kind of architectural designs: NoSQL Distilled Emerging Polyglot Persistence.If you read it you will see why to use a NoSQL or an RDBMS or both of them. On the other hand I have over 50+ millions of documents at a replicated nodes of SolrCloud a

Re: SORTING RESULTS BASED ON RELAVANCY

2013-09-18 Thread Chris Hostetter
: Unless i'm missing something: FuzzyQuery defaults to using the : "TopTermsScoringBooleanQueryRewrite" method based on the terms found in : the index that match the fuzzy expression. So the results of a simple : fuzzy query should already come back based on the tf/idf scores of the : terms.

Re: Re: Unable to getting started with SOLR

2013-09-18 Thread Furkan KAMACI
I suggest you to start from here: http://wiki.apache.org/solr/HowToCompileSolr 15 Eylül 2013 Pazar tarihinde Erick Erickson adlı kullanıcı şöyle yazdı: > If you're using the default jetty container, there's no log unless > you set it up, the content is echoed to the screen. > > About a zillio

Re: Solrcloud - adding a node as a replica?

2013-09-18 Thread Furkan KAMACI
Are yoh looking for that: http://lucene.472066.n3.nabble.com/SOLR-Cloud-Collection-Management-quesiotn-td4063305.html 18 Eylül 2013 Çarşamba tarihinde didier deshommes adlı kullanıcı şöyle yazdı: > Hi, > How do I add a node as a replica to a solrcloud cluster? Here is my > situation: some time ag

Re: Memory Using In Faceted Search (UnInvertedField's)

2013-09-18 Thread Shawn Heisey
On 9/18/2013 11:08 AM, an...@swooptalent.com wrote: > I'm using Solr 4.3.1 for faceted search and have 4 fields used for faceting. > My question is about memory consumtion. > I've set up heap size to use 6Gb of RAM, but I see in resource monitor it > uses much more than that - up to 10Gb where 4

Re: SORTING RESULTS BASED ON RELAVANCY

2013-09-18 Thread Chris Hostetter
: Thanks for you replycan you please check the following details and : give me suggestions how can i do it, then it will be more helpful to me you need to show us some examples of your documents and the debugQuery=true output for those documents for us to better understand the behavior

Re: Solr 4.4.0: Plugin init failure for [schema.xml] analyzer/tokenizer

2013-09-18 Thread Chris Hostetter
: I am having trouble in upgrading from Solr 3.6 to Solr 4.4.0. I have : placed required jars in "lib" directory. When I start the Tomcat : instance it throws following error. Also pasted part of : "conf/schema.xml" file. which jars exactly? where did you get the jars from? what version of sol

Solr 4.4.0: Plugin init failure for [schema.xml] analyzer/tokenizer

2013-09-18 Thread Abhijith Jain -X (abhijjai - DIGITAL-X INC at Cisco)
Hello Experts, I am having trouble in upgrading from Solr 3.6 to Solr 4.4.0. I have placed required jars in "lib" directory. When I start the Tomcat instance it throws following error. Also pasted part of "conf/schema.xml" file. Solr 4.4.0 works perfect if I comment following lines. Schema.xm

DIH field defaults or re-assigning field values

2013-09-18 Thread P Williams
Hi All, I'm using the DataImportHandler to import documents to my index. I assign one of my document's fields by using a sub-entity from the root to look for a value in a file. I've got this part working. If the value isn't in the file or the file doesn't exist I'd like the field to be assigned

Re: FAcet with " " values are displayes in output

2013-09-18 Thread tamanjit.bin...@yahoo.co.in
Any analysis happening on the country field during indexing? If so then facets are on tokens. -- View this message in context: http://lucene.472066.n3.nabble.com/FAcet-with-values-are-displayes-in-output-tp4090777p4090904.html Sent from the Solr - User mailing list archive at Nabble.com.

Memory Using In Faceted Search (UnInvertedField's)

2013-09-18 Thread anton
Hello, I'm using Solr 4.3.1 for faceted search and have 4 fields used for faceting. My question is about memory consumtion. I've set up heap size to use 6Gb of RAM, but I see in resource monitor it uses much more than that - up to 10Gb where 4 Gb is reported as shareable memory. I've calculated

Re: Solr SpellCheckComponent only shows results with certain fields

2013-09-18 Thread jazzy
Hey, I figured it out! So the reason that only the name was working was because name was the only field configured in the solrconfig. Once I did that then I followed this link to solve the rest of the problem. SOLR suggester multiple field autocomplete -- View this message in context: http:

Solrcloud - adding a node as a replica?

2013-09-18 Thread didier deshommes
Hi, How do I add a node as a replica to a solrcloud cluster? Here is my situation: some time ago, I created several collections with replicationFactor=2. Now I need to add a new replica. I thought just starting a new node and re-using the same zokeeper instance would make it automatically a replica

Re: SolrCloud - Service unavailable

2013-09-18 Thread Shawn Heisey
On 9/18/2013 8:12 AM, Indika Tantrigoda wrote: > I am using 3 Solr instances behind an Amazon ELB with 1 shared. Serving > data via Solr works as expected, however I noticed a few times a 503 error > was poping up from the applications accessing Solr. Accessing Solr is done > via the AWS ELB. > >

Re: Solr Cloud dataimport freezes

2013-09-18 Thread Shawn Heisey
On 9/18/2013 3:40 AM, kowish.adamosh wrote: > I have a problem with data import (based on database sql) in Solr Cloud. I'm > trying to import ~500 000 000 of documents and I've created 30 logical > shards on 2 physical machines. Documents are distributed by composite id. > After some time (5-10 min

Re: Installation issue with solr server

2013-09-18 Thread Gora Mohanty
On 18 September 2013 16:26, Chhaya Vishwakarma wrote: > Hi, > > I have installed solr server on Ubuntu 12.04 LTS.I am able to access > http://machineip:8983/solr but when i do curl "http://machineip:8983/solr"; > Its giving me "Proxy authorization error" > What can be the problem? Is it due to co

Installation issue with solr server

2013-09-18 Thread chhayav
Hi, I have installed solr server on Ubuntu 12.04 LTS.I am able to access http://machineip:8983/solr but when i do curl “http://machineip:8983/solr” Its giving me “Proxy authorization error” What can be the problem? Is it due to corporate firewalls? I have given proxy settings in .bashrc file ,/etc

Installation issue with solr server

2013-09-18 Thread Chhaya Vishwakarma
Hi, I have installed solr server on Ubuntu 12.04 LTS.I am able to access http://machineip:8983/solr but when i do curl "http://machineip:8983/solr"; Its giving me "Proxy authorization error" What can be the problem? Is it due to corporate firewalls? I have given proxy settings in .bashrc file ,/e

Re: SORTING RESULTS BASED ON RELAVANCY

2013-09-18 Thread PAVAN
Hi alex, Thanks for you replycan you please check the following details and give me suggestions how can i do it, then it will be more helpful to me i am passing query parameters like http://localhost:8080/solr/core/c=cityname&s=iphne+4&s1=iphne~0.5&s2=4~0.5 here "s" is the main strin

SolrCloud - Service unavailable

2013-09-18 Thread Indika Tantrigoda
Hi All, I am using 3 Solr instances behind an Amazon ELB with 1 shared. Serving data via Solr works as expected, however I noticed a few times a 503 error was poping up from the applications accessing Solr. Accessing Solr is done via the AWS ELB. 3 Zookeeper instances also run on the same instanc

Re: Problem indexing windows files

2013-09-18 Thread Yossi Nachum
Thanks for your help I try to look at the logs but didn't see anything in solr or manifolcf log files. I don't know where is Tika log file I download the binary of solr 4.4 and I am using the example in there On Wed, Sep 18, 2013 at 12:02 AM, Furkan KAMACI wrote: > Firstly; > > This may not be a

Re: Solr Cloud dataimport freezes

2013-09-18 Thread kowish.adamosh
Update: - it works for 8 shards. I'm going to test it on 16 shards. Any ideas what is going on? :-) -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Cloud-dataimport-freezes-tp4090812p4090832.html Sent from the Solr - User mailing list archive at Nabble.com.

Solr Cloud dataimport freezes

2013-09-18 Thread kowish.adamosh
Hi guys, I have a problem with data import (based on database sql) in Solr Cloud. I'm trying to import ~500 000 000 of documents and I've created 30 logical shards on 2 physical machines. Documents are distributed by composite id. After some time (5-10 minutes; about 400 000 documents) Solr Cloud

Generating similar (related) searches a la Google

2013-09-18 Thread Mr Havercamp
I am using Apache Solr 3.6. I have been playing around with the idea of providing a "similar" search in the same way Google provides a link against some results with the ability to search for pages similar to the current result: E.g. related:lucene.apache.org/solr/ apache solr One method I t

Re: FAcet with " " values are displayes in output

2013-09-18 Thread Erik Hatcher
This is likely because you added an empty value to the Country field for one (in that result set) document. I imagine this is a data issue and that you either need to clean up the data or avoid indexing blank values. Erik On Sep 18, 2013, at 1:36 AM, Prasi S wrote: > Hi , > Im using

Re: FAcet with " " values are displayes in output

2013-09-18 Thread Prasi S
How to filter them in the query itself? Thanks, Prasi On Wed, Sep 18, 2013 at 1:06 PM, Upayavira wrote: > Filter them out in your query, or in your display code. > > Upayavira > > On Wed, Sep 18, 2013, at 06:36 AM, Prasi S wrote: > > Hi , > > Im using solr 4.4 for our search. When i query for

Re: Solr SpellCheckComponent only shows results with certain fields

2013-09-18 Thread Raheel Hasan
what about this query? try to see if you get suggestions here: /solr/collection1/select?q=*%3Abecaus&wt=json&indent=true&spellcheck=true On Wed, Sep 18, 2013 at 4:02 AM, jazzy wrote: > I'm trying to get the Solr SpellCheckComponent working but am running into > some issues. When I run > .../sol

Re: SORTING RESULTS BASED ON RELAVANCY

2013-09-18 Thread Gora Mohanty
On 18 September 2013 12:39, Alexandre Rafalovitch wrote: > The default sort is by relevancy. So, if you are getting it in the wrong > order, it think it is relevant in different ways. Depending on algorithm > you use, there are different boosting functions. [...] Also, you can get an explanation

Re: FAcet with " " values are displayes in output

2013-09-18 Thread Upayavira
Filter them out in your query, or in your display code. Upayavira On Wed, Sep 18, 2013, at 06:36 AM, Prasi S wrote: > Hi , > Im using solr 4.4 for our search. When i query for a keyword, it returns > empty valued facets in the response > > > > > > *1* > 1 > > > > > > > I have also trie

Re: Stop zookeeper from batch

2013-09-18 Thread Prasi S
Yeah, but its not yet into the zookeeper's latest releases. Is it fine with using it. On Wed, Sep 18, 2013 at 2:39 AM, Furkan KAMACI wrote: > Are you looking for that: > > https://issues.apache.org/jira/browse/ZOOKEEPER-1122 > > 16 Eylül 2013 Pazartesi tarihinde Prasi S adlı > kullanıcı şöyle y

Re: Re-Ranking results based on DocValues with custom function.

2013-09-18 Thread Mathias Lux
Got it! Just for you to share ... and maybe for inclusion in the Java API docs of ValueSource :) For sorting one needs to implement the method public double doubleVal(int) of the class ValueSource then it works like a charm. cheers, Mathias On Tue, Sep 17, 2013 at 6:28 PM, Chris Hostetter w

Re: SORTING RESULTS BASED ON RELAVANCY

2013-09-18 Thread Alexandre Rafalovitch
The default sort is by relevancy. So, if you are getting it in the wrong order, it think it is relevant in different ways. Depending on algorithm you use, there are different boosting functions. You may need to give more details. Algorithm, how would you know if relevance sorting working, etc. Re