Grouping based on multiple filters/criterias

2014-08-18 Thread deniz
is it possible to have multiple filters/criterias on grouping? I am trying to do something like those, and I am assuming that from the statuses of the tickets, it doesnt seem possible? https://issues.apache.org/jira/browse/SOLR-2553 https://issues.apache.org/jira/browse/SOLR-2526

Please help to filter of group.limit

2014-08-18 Thread Phi Hoang Hai
Dear everyone. My problem have 2 query 1) Get top 1 of each group (group.limit = 1 AND group.sort = date desc group.field=ABC) 2) Filter to get document of each group match condition. If document don't match condition then remove of list result. Help me. Thanks you. Hải

optimize and .nfsXXXX files

2014-08-18 Thread BorisG
Hi, I am using solr 3.6.2. I use NFS and my index folder is a mounted folder. When I run the command: server:port/solr/collection1/update?optimize=truemaxSegments=1waitFlush=trueexpungeDeletes=true in order to optimize my index, I have some .nfsX files created while the optimize is running.

Solr Clustering component different results than Carrot workbench

2014-08-18 Thread Yavar Husain
Though I am interacting with Dawid (creator of Carrot2) on Carrot2 mailing list however just wanted to post my problem to a wider audience. I am using Solr 4.7 (on both windows and linux) and saved my lingo-attributes.xml file from the workbench which I am using in Solr. Note that for testing I

Re: optimize and .nfsXXXX files

2014-08-18 Thread Michael McCandless
Soft commit (i.e. opening a new IndexReader in Lucene and closing the old one) should make those go away? The .nfsX files are created when a file is deleted but a local process (in this case, the current Lucene IndexReader) still has the file open. Mike McCandless

Editing http://wiki.apache.org/solr/PublicServers

2014-08-18 Thread ikulcsar
Hy, My name is Istvan Kulcsar and i would like to edit this page: http://wiki.apache.org/solr/PublicServers Here is some SOLR search: http://www.odrportal.hu/kereso/ http://idea.unideb.hu/idealista/ http://www.jobmonitor.hu http://www.profession.hu/ http://webicina.com/ http://www.cylex.hu/ Én

Re: Retrieving and updating large set of documents on Solr 4.7.2

2014-08-18 Thread Otis Gospodnetic
Hi, Not sure if you've seen https://issues.apache.org/jira/browse/SOLR-5244 ? It's not in Solr 4.7.2, but may be a good excuse to update Solr. Otis -- Solr Performance Monitoring * Log Analytics * Search Analytics Solr Elasticsearch Support * http://sematext.com/ On Mon, Aug 18, 2014 at 4:09

Re: How to search for phrase IAE_UPC_0001

2014-08-18 Thread Paul Rogers
Hi Guys I've been checking into this further and have deleted the index a couple of times and rebuilt it with the suggestions you've supplied. I had a bit of an epiphany last week and decided to check if the document I was searching for was actually in the index (did this by doing a *.* query to

Combining a String Tag with a Numeric Value

2014-08-18 Thread Dave Seltzer
Hello! I have some new entity data that I'm indexing which takes the form of: String: EntityString Float: Confidence I want to add these to a generic Tags field (for faceting), but I'm not sure how to hold onto the confidence. Token Payloads seem like one method, but then I'm not sure how to

Re: Editing http://wiki.apache.org/solr/PublicServers

2014-08-18 Thread Erick Erickson
Steve: Sure. What we need to add you to the contributor's group is your Wiki logon though. Provide us that and we'll add you ASAP. Best, Erick On Mon, Aug 18, 2014 at 3:14 AM, ikulc...@precognox.com wrote: Hy, My name is Istvan Kulcsar and i would like to edit this page:

Re: How to search for phrase IAE_UPC_0001

2014-08-18 Thread Erick Erickson
I'd pull Nutch out of the mix here as a test. Create some test docs (use the exampleDocs directory?) and go from there at least long enough to insure that Solr does what you expect if the data gets there properly. You can set this up in about 10 minutes, and test it in about 15 more. May save you

Re: Combining a String Tag with a Numeric Value

2014-08-18 Thread Erick Erickson
Hmmm, there's no particular right way. It'd be simpler to index these as two separate fields _if_ there's only one pair per document. If there are more and you index them as two mutliValued fields, there's no good way at _query_ time to retain the association. The returned multiValued fields are

need help in field collapsing

2014-08-18 Thread Sankalp Gupta
Hi I have about 15 fields in my solr schema but there are two fields lets say them field1 and field2 in my schema. For most searches I feel I have a perfect schema but for one use case it is not apt: *problem*: I have to group by column using field1 and then I have to search a particular value a

solr cloud going down repeatedly

2014-08-18 Thread Jakov Sosic
Hi guys. I have a solr cloud, consisting of 3 zookeper VMs running 3.4.5 backported from Ubuntu 14.04 LTS to 12.04 LTS. They are orchestrating 4 solr nodes, which have 2 cores. Each core is sharded, so 1 shard is on each of the solr nodes. Solr runs under tomcat7 and ubuntus latest openjdk

Re: How to restore an index from a backup over HTTP

2014-08-18 Thread Jeff Wartes
I¹m able to do cross-solrcloud-cluster index copy using nothing more than careful use of the ³fetchindex² replication handler command. I¹m using this as a build/deployment tool, so I manually create a collection in two clusters, index into one, test, and then ask the other cluster to fetchindex

Re: How to restore an index from a backup over HTTP

2014-08-18 Thread Greg Solovyev
Thanks Jeff, I'd be interested in taking a look at the code for this tool. My github ID is grishick. Thanks, Greg - Original Message - From: Jeff Wartes jwar...@whitepages.com To: solr-user@lucene.apache.org Sent: Monday, August 18, 2014 9:49:28 PM Subject: Re: How to restore an index

Re: How to restore an index from a backup over HTTP

2014-08-18 Thread Greg Solovyev
Shawn, the format that I am referencing is filestream, which starts with 2 bytes carrying file size, then 4 bytes carrying checksum (optional) and then the actual bits of the file. Thanks, Greg - Original Message - From: Shawn Heisey s...@elyograg.org To: solr-user@lucene.apache.org

Re: solr cloud going down repeatedly

2014-08-18 Thread Shawn Heisey
On 8/18/2014 11:30 AM, Jakov Sosic wrote: My impression is that garbage collector is at fault here. This is the cmdline of tomcat: /usr/lib/jvm/java-7-openjdk-amd64/bin/java -Djava.util.logging.config.file=/var/lib/tomcat7/conf/logging.properties -Djava.awt.headless=true -Xmx8192m

Need details on this query

2014-08-18 Thread bbarani
Hi, This might be a silly question.. I came across the below query online but I couldn't really understand the bolded part. Can someone help me understanding this part of the query? deviceType_:Cell OR deviceType_:Prepaid *OR (phone -data_source_name:(Catalog OR Device How To - Interactive OR

how to generate stats based on time segments?

2014-08-18 Thread abhayd
hi I have dataset in solr like id|time|price| 1|t0|100| 1|t1|10| 1|t2|20| 1|t3|30| What i want is when i query solr for time t0 I want to return data like t1, 100 rest,60 ( which is sum of price for t1,t2,t3) Is that something can be done? -- View this message in context:

faceted query with stats not working in solrj

2014-08-18 Thread tedsolr
Hi. I have a query that works just fine in the browser. It rolls up documents by the facet field and gives me stats on the stats field: http://localhost:8983/solr/corename/select?q=*:*stats=onstats.field=Spendstats.facet=Supplier Posting this works just fine. However I cannot get stats from

Re: faceted query with stats not working in solrj

2014-08-18 Thread Shawn Heisey
On 8/18/2014 12:47 PM, tedsolr wrote: Hi. I have a query that works just fine in the browser. It rolls up documents by the facet field and gives me stats on the stats field: http://localhost:8983/solr/corename/select?q=*:*stats=onstats.field=Spendstats.facet=Supplier Posting this works just

Currency field type not supported for stats

2014-08-18 Thread tedsolr
Just looking for confirmation that the currency field is not supported for stats. When I use a currency field as the stats.field I get his error: http://localhost:8983/solr/corename/select?q=*:*stats=onstats.field=SpendAsCurrencystats.facet=Supplier Field type

Re: How to search for phrase IAE_UPC_0001

2014-08-18 Thread Paul Rogers
Hi Erick Thanks for the assist. Did as you suggested (tho' I used Nutch). Cleared out solr's index and Nutch's crawl DB and then emptied all the documents out of the web server bar 10 of each type (IAE-UPC- and IAE_UPC_). Then crawled the site using Nutch. Then confirmed that all 20

logging in solr

2014-08-18 Thread M, Arjun (NSN - IN/Bangalore)
Hi, Currently in my component Solr is logging to catalina.out. What is the configuration needed to redirect those logs to some custom logfile eg: Solr.log. Thanks... --Arjun

Re: Combining a String Tag with a Numeric Value

2014-08-18 Thread Dave Seltzer
Thanks Erick, I'm not sure I need to score the documents based on the numeric value, but I am interested in being able to calculate the average (Mean) of all the numeric values for a given tag. For example, what is the average confidence of Tag1 across all documents. I'm not sure I can do that

Re: logging in solr

2014-08-18 Thread Aurélien MAZOYER
Hi, Are you using tomcat or jetty? If you use the default jetty, have a look to : http://wiki.apache.org/solr/LoggingInDefaultJettySetup Regards, Aurélien Le 18/08/2014 22:43, M, Arjun (NSN - IN/Bangalore) a écrit : Hi, Currently in my component Solr is logging to catalina.out.

Re: logging in solr

2014-08-18 Thread Aurélien MAZOYER
Sorry, outdated link. And I suppose you use tomcat if you are talking about catalina.out The correct link is : http://wiki.apache.org/solr/SolrLogging#Solr_4.3_and_above Le 18/08/2014 23:06, Aurélien MAZOYER a écrit : Hi, Are you using tomcat or jetty? If you use the default jetty,

Re: Need details on this query

2014-08-18 Thread Erick Erickson
OR (phone -data_source_name:(Catalog OR Device How To - Interactive OR Device How To - StepByStep)) Just an OR clause that searches for all documents that have phone ( in the default search field or multiple fields if its an edismax parser). Remove from that set any documents with a

Re: How to search for phrase IAE_UPC_0001

2014-08-18 Thread Erick Erickson
NP, glad you're making forward progress! Erick On Mon, Aug 18, 2014 at 12:31 PM, Paul Rogers paul.roge...@gmail.com wrote: Hi Erick Thanks for the assist. Did as you suggested (tho' I used Nutch). Cleared out solr's index and Nutch's crawl DB and then emptied all the documents out of the

Re: Combining a String Tag with a Numeric Value

2014-08-18 Thread Erick Erickson
If you're doing this in a sharded environment, it may be interesting. Good Luck! Erick On Mon, Aug 18, 2014 at 2:03 PM, Dave Seltzer dselt...@tveyes.com wrote: Thanks Erick, I'm not sure I need to score the documents based on the numeric value, but I am interested in being able to calculate

Re: logging in solr

2014-08-18 Thread Shawn Heisey
On 8/18/2014 2:43 PM, M, Arjun (NSN - IN/Bangalore) wrote: Currently in my component Solr is logging to catalina.out. What is the configuration needed to redirect those logs to some custom logfile eg: Solr.log. Solr uses the slf4j library for logging. Simply change your program to

[ANNOUNCE] [SECURITY] Recommendation to update Apache POI in Apache Solr 4.8.0, 4.8.1, and 4.9.0 installations

2014-08-18 Thread Uwe Schindler
the following files from the base folder of the Apache POI distribution to the solr-4.X.X/contrib/extraction/lib folder: # poi-3.10.1-20140818.jar # poi-ooxml-3.10.1-20140818.jar # poi-ooxml-schemas-3.10.1-20140818.jar # poi-scratchpad-3.10.1-20140818.jar - Copy xmlbeans

Apache Solr Wiki

2014-08-18 Thread Mark Sun
Dear Solr Wiki admin, We are using Solr for our multilingual asian language keywords search, as well as visual similarity search engine (via pixolution plugin). We would like to update the Powered by Solr section. As well as help to add on to the knowledge base for other Solr setups. Can you add

Re: Apache Solr Wiki

2014-08-18 Thread Erick Erickson
Done, you should have edit rights now! Best, Erick On Mon, Aug 18, 2014 at 6:01 PM, Mark Sun mark...@motionelements.com wrote: Dear Solr Wiki admin, We are using Solr for our multilingual asian language keywords search, as well as visual similarity search engine (via pixolution plugin). We

Apache solr sink issue

2014-08-18 Thread Jeniba Johnson
Hi, I want to index a log file in Solr using Flume + Apache Solr sink Iam referring this below mentioned URL https://cwiki.apache.org/confluence/display/FLUME/How+to+Setup+Solr+Sink+for+Flume Error from flume console 2014-08-19 15:38:56,451 (concurrentUpdateScheduler-2-thread-1) [ERROR -