Re: unable to facet range query

2013-12-13 Thread Nutan
yes, i did reindex. -- View this message in context: http://lucene.472066.n3.nabble.com/unable-to-facet-range-query-tp4106305p4106710.html Sent from the Solr - User mailing list archive at Nabble.com.

edismax parser discards some queries with parenthesis

2013-12-13 Thread Satyanarayana Kakollu
edismax is discarding the query if it is in quotes and there is no space before parenthesis. "querystring": "\"a\\(b\\)\"", "parsedquery": "(+())/no_coord", With a space before parenthesis it does not discard. "querystring": "\"a \\(b\\)\"", "parsedquery": "(+DisjunctionMaxQuery((Publisher:\"a

Re: Unable to check Solr 4.6 SPLITSHARD command progress

2013-12-13 Thread binit
Yes, and my clusterstate.json is still: == "shards":{ "shard1":{ "range":"8000-7fff", "state":"active", "replicas":{"core_node1":{ "state":"active", "base_url":"http://./solr";, "core":".._shard1_replica1",

Re: installing a 3rd party index

2013-12-13 Thread Chris Hostetter
: Has anyone tried to take an index generated elsewhere and install it in a : core? I have done that and I can see all the documents if I do "q=*:*" but : I can't actually query any of the fields even though I added the field : names to schema that combination (docs are clearly visible when doing

Re: installing a 3rd party index

2013-12-13 Thread Greg Walters
Christian, I literally did this 10 minutes ago for an internal example. You need to issue a RELOAD for your index to open a new searcher using the updated files. Here's an example showing how I did it: ** Creating a new collection Greg-Walters-MacBook-Pro:SolrUpload greg.walters$ curl "http://

installing a 3rd party index

2013-12-13 Thread Christian Bongiorno
Has anyone tried to take an index generated elsewhere and install it in a core? I have done that and I can see all the documents if I do "q=*:*" but I can't actually query any of the fields even though I added the field names to schema I am kind of a rookie so forgive me if I come across as such.

Re: Indexing RestFul Json Service

2013-12-13 Thread Ahmet Arslan
Hi, Solr accepts json. In the following form :  https://svn.apache.org/repos/asf/lucene/dev/trunk/solr/example/exampledocs/books.json On Friday, December 13, 2013 9:33 PM, Pritesh Patel wrote: Does anybody know how to index Json Data coming from a RestFul service?  I see I can use the DIH to

Indexing RestFul Json Service

2013-12-13 Thread Pritesh Patel
Does anybody know how to index Json Data coming from a RestFul service? I see I can use the DIH to index xml data, but what about Json? --Pritesh

Re: [ContentStreamUpdateRequest] POST Http Request header

2013-12-13 Thread Raymond Wiker
I think you're wrong about this; both the "literal.*"parameters and the file will be sent as part of the body, as "multipart/form-data". It is possible that whatever library you're using are placing the "literal.*" parameters in the url, but that is by no means necessary (or even a good idea).

Re: Similarity search with Solr

2013-12-13 Thread Jayni
okay, thanks for your help Janek -- View this message in context: http://lucene.472066.n3.nabble.com/Similarity-search-with-Solr-tp4106623p4106648.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Backwards compatibility issue

2013-12-13 Thread Shawn Heisey
On 12/13/2013 7:40 AM, Karel Vervaeke wrote: > IIUC A Solrj 4.4 client should be able to speak to a Solr 4.6 cloud > instance. > Assuming this is correct there's an issue because of a change in > clusterstate.json: > > In a 4.4 cloud server clusterstate.json would contain `router: "implicit"` > In

Re: [ContentStreamUpdateRequest] POST Http Request header

2013-12-13 Thread Raymond Wiker
I think you're wrong about this; both the "literal.*"parameters and the file will be sent as part of the body, as "multipart/form-data". It is possible that whatever library you're using are placing the "literal.*" parameters in the url, but that is by no means necessary (or even a good idea).

Re: Similarity search with Solr

2013-12-13 Thread Jack Krupansky
Do a proof of concept implementation and see for yourself if you find the performance acceptable. I mean, performance should be reasonably decent. -- Jack Krupansky -Original Message- From: Jayni Sent: Friday, December 13, 2013 12:22 PM To: solr-user@lucene.apache.org Subject: Re: Si

Re: Similarity search with Solr

2013-12-13 Thread Jayni
@kamaci The sentences are stored in txt files, but I can also import them. The file includes a lot of RTF-stuff like a font table, but I'm only interested in the sentences, which are enclosed by tags. @Jack Krupansky-2 Do you think it will be fast enough. I got millions of sentences and I have to

Re: Similarity search with Solr

2013-12-13 Thread Jack Krupansky
Just use the edismax query parser with bigrams and trigrams enabled and the default operator set to OR. That will select all sentences even vaguely similar and will more highly score sentences that have a greater number of words and phrases that match. -- Jack Krupansky -Original Message-

Re: Similarity search with Solr

2013-12-13 Thread Furkan KAMACI
Hi; Could you explain your infrastructure? Thanks; Furkan KAMACI 2013/12/13 Jayni > Hi, > > I want to do a similarity search on millions of sentences. They are written > in natural language and I want to find sentences, which have a "similar" > set > of words. > A search based on trigrams or

Similarity search with Solr

2013-12-13 Thread Jayni
Hi, I want to do a similarity search on millions of sentences. They are written in natural language and I want to find sentences, which have a "similar" set of words. A search based on trigrams or a kind of Full Text search, which finds similar sentences is my aim. Before I used PostgreSQL, but it

Re: Contributors Group - Naftemporiki.gr

2013-12-13 Thread Chris Hostetter
: Hello, please include us to the Contributors Group (username = : MarkosChalaris). done. -Hoss http://www.lucidworks.com/

Backwards compatibility issue

2013-12-13 Thread Karel Vervaeke
IIUC A Solrj 4.4 client should be able to speak to a Solr 4.6 cloud instance. Assuming this is correct there's an issue because of a change in clusterstate.json: In a 4.4 cloud server clusterstate.json would contain `router: "implicit"` In a 4.6 cloud server clusterstate.json contains `router: {"n

Re: REST API for Query Elevation in Solr

2013-12-13 Thread Ahmet Arslan
Hi Archana, Somehow relevant : https://issues.apache.org/jira/browse/SOLR-5541 On Friday, December 13, 2013 4:14 PM, Archana K wrote: I see that there is REST API available for accessing schema.xml file. http://wiki.apache.org/solr/SchemaRESTAPI#Schema_REST_API. Does Solr provide REST A

REST API for Query Elevation in Solr

2013-12-13 Thread Archana K
I see that there is REST API available for accessing schema.xml file. http://wiki.apache.org/solr/SchemaRESTAPI#Schema_REST_API. Does Solr provide REST API for elevate.xml file. Does Solr allow us to change the elevate.xml file through java API other than manually editing this file. -- View

RE: SOLR DIH - Sub Entity with different datasource not working

2013-12-13 Thread Dyer, James
Without more of the stacktrace I don't think you'll get much help. However, its my experience that exceptions that begin with "Unable to execute query" mean the db didn't like something about one or both queries. I think it would have listed in there somewhere the actual query it didn't like,

Contributors Group - Naftemporiki.gr

2013-12-13 Thread Χάλαρης Μάρκος
Hello, please include us to the Contributors Group (username = MarkosChalaris). We would like to add our websites (www.naftemporiki.gr & www.clickatlife.gr) to the Public Websites using Solr section. Please let us know if you require any a

Re: Passing a Parameter to a Custom Processor

2013-12-13 Thread Koji Sekiguchi
Hi Dileepa, The stanbolInterceptor processor chain will be used in multiple request handlers. Then I will have to pass the stanbol.enhancer.url param in each of those request handler which will cause redundant configurations. Therefore I need to pass the param to the processor directly. But whe

Re: Solr Profiler

2013-12-13 Thread Alexander Rosemann
+1 for VisualVm. I use it frequently to check where my bottlenecks in my code are, especially when it's multi-threaded. As Michael stated, it's free and included in the JDK. Cheers, Alex On 12.12.2013 17:30, Michael Della Bitta wrote: I've used VisualVM quite a bit, but not sure that it's goi

[ContentStreamUpdateRequest] POST Http Request header

2013-12-13 Thread Alessandro Benedetti
Hi guys, I was working with the ContentStreamUpdateRequest in solr 4.5 to send to Solr a document with a set of metaData through an HTTP POST request. Following the tutorial is easy to structure the request : *contentStreamUpdateRequest.setParam("literal.field1","value1");* *contentStreamUpdate

Re: Unable to check Solr 4.6 SPLITSHARD command progress

2013-12-13 Thread Yago Riveiro
You can see if the SPLITSHARD finished in clusterstate.json, if the original shard has his state as inactive and the children active, the operation finished satisfactorily. -- Yago Riveiro Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Friday, December 13, 2013 at 4:48 AM, binit w

SOLR DIH - Sub Entity with different datasource not working

2013-12-13 Thread Lokn
Hi, I have the data-config.xml with 2 data sources and the entity and sub sub-entity connecting to datasource1 and datasource2 respectively. When I do the full import, it is giving an error, Exception : org.apache.solr.handler.dataimport.DataImportHandlerException: Unable to execute query: This

Solr 4.4.0 on hadoop 2.2.0

2013-12-13 Thread javozzo
Hi, I'm new in Solr. I tried to store the solr data in A distributed filesystem (Hadoop in this case). I'm following this tutorial https://cwiki.apache.org/confluence/display/solr/Running+Solr+on+HDFS but i have a problem when i set this field -Dsolr.data.dir=hdfs://host:port/path Which is t

Passing a Parameter to a Custom Processor

2013-12-13 Thread Dileepa Jayakody
Hi All, I have written a custom update-request processor and need to pass certain parameters to the Processor. I believe solrconfig.xml is the place to pass these parameters. At the moment I define my parameter in the request handler as below; data-config.xml stanbolInterceptor *http:/