send

2021-02-23 Thread Martin Graney
-- Martin Graney Lead Developer http://sooqr.com http://twitter.com/sooqrcom Office: +31 (0) 88 766 7700 Mobile: +31 (0) 64 660 8543 --

Re: How do I send multiple user version parameter value for a delet by id request with multiple IDs ?

2020-01-31 Thread Chris Hostetter
: Subject: How do I send multiple user version parameter value for a delet by id : request with multiple IDs ? If you're talking about Solr's normal optimistic concurrency version constraints then you just pass '_version_' with each delete block... https://lucene.a

How do I send multiple user version parameter value for a delet by id request with multiple IDs ?

2020-01-31 Thread Mou
http://solr:port/collection/update?version_field=1234582.0 works for the payload {"delete":[{"id":"51"},{"id":"5"}]} with multiple ids and the version parameter is applied to both requests. Is it possible to send separate version numbers for

Re: How to routing document for send to particular shard range

2018-01-02 Thread Erick Erickson
bq: Only thing which we can achieve is , documents will be routed based on the hash values of the field values. Then you have created your collection with compositeID routing or have some other misconfiguration. You _must_ create your collection with "router.name=implicit". Rather than _tell_ us

Re: How to routing document for send to particular shard range

2018-01-02 Thread Susheel Kumar
Hi Ketan, I believe you need multiple shard looking the count 800M. How much will be the index size? Assume it comes out to 400G and assume your VM/machines has 64GB and practically you want to fit your index into memory for each shard... With that I would create 10shards on 10 machines (40 GB

RE: How to routing document for send to particular shard range

2018-01-02 Thread hemanth
Hi Ketan, I also tried various ways to route documents to different shards based on some routing key value. eg: status: active,inactive and terminated should go to 3 different shards. I tried creating implicit as well as composite id routers. I could not route the documents to the shard I want. O

RE: How to routing document for send to particular shard range

2017-11-15 Thread Ketan Thanki
Hi, Can someone please let me for my below mentions use-case. Regards, Ketan -Original Message- From: Ketan Thanki Sent: Wednesday, November 15, 2017 3:42 PM To: 'solr-user@lucene.apache.org' Subject: RE: How to routing document for send to particular shard range Thanks Eri

RE: How to routing document for send to particular shard range

2017-11-15 Thread Ketan Thanki
ject: Re: How to routing document for send to particular shard range These numbers aren't very useful. inserting how much data? Querying how much data? What kinds of queries? Are you indexing in batches or one document at a time? Are you using SolrJ and CloudSolrClient? 94 seconds to

Re: How to routing document for send to particular shard range

2017-11-14 Thread Erick Erickson
> in production there will be huge data so is it need to distribute in 2 shard > or in 1 shard which one is feasible for achieve better performance. > > > Regards, > Ketan > > -Original Message- > From: Amrit Sarkar [mailto:sarkaramr...@gmail.com] > Sent: Monday, N

RE: How to routing document for send to particular shard range

2017-11-14 Thread Ketan Thanki
ilto:sarkaramr...@gmail.com] Sent: Monday, November 13, 2017 8:52 PM To: solr-user@lucene.apache.org Subject: Re: How to routing document for send to particular shard range Surely someone else can chim in; but when you say: "so regarding to it we need to index the particular > client data into

Re: How to routing document for send to particular shard range

2017-11-13 Thread Amrit Sarkar
er 10, 2017 5:34 PM > To: solr-user@lucene.apache.org > Subject: Re: How to routing document for send to particular shard range > > Ketan, > > here I have also created new field 'core' which value is any shard where I > > need to send documents and

RE: How to routing document for send to particular shard range

2017-11-13 Thread Ketan Thanki
, -Original Message- From: Amrit Sarkar [mailto:sarkaramr...@gmail.com] Sent: Friday, November 10, 2017 5:34 PM To: solr-user@lucene.apache.org Subject: Re: How to routing document for send to particular shard range Ketan, here I have also created new field 'core' which value is

RE: How to routing document for send to particular shard range

2017-11-10 Thread Ketan Thanki
Thanks Amrit, I getting it know so can you please told me anyhow can I achieve using composite routing ? as mentions my requirement below. Because will need to send particular client data to particular shard. Regards, -Original Message- From: Amrit Sarkar [mailto:sarkaramr

Re: How to routing document for send to particular shard range

2017-11-10 Thread Amrit Sarkar
Ketan, here I have also created new field 'core' which value is any shard where I > need to send documents and on retrieval use '_route_' parameter with > mentioning the particular shard. But issue facing still my > clusterstate.json showing the "router":

RE: How to routing document for send to particular shard range

2017-11-10 Thread Ketan Thanki
: name=workset shard=shard1 collection=workset router.name=implicit router.field=core shards=shard1,shard2 here I have also created new field 'core' which value is any shard where I need to send documents and on retrieval use '_route_' parameter with mentioning the particu

Re: How to routing document for send to particular shard range

2017-11-09 Thread Erick Erickson
; > -Original Message- > From: Amrit Sarkar [mailto:sarkaramr...@gmail.com] > Sent: Wednesday, November 08, 2017 12:36 PM > To: solr-user@lucene.apache.org > Subject: Re: How to routing document for send to particular shard range > > Ketan, > > If you know defi

RE: How to routing document for send to particular shard range

2017-11-09 Thread Ketan Thanki
solr-user@lucene.apache.org Subject: Re: How to routing document for send to particular shard range Ketan, If you know defined indexing architecture; isn't it better to use "implicit" router by writing logic on your own end. If the document is of "Org1", send the docum

Re: How to routing document for send to particular shard range

2017-11-07 Thread Amrit Sarkar
Ketan, If you know defined indexing architecture; isn't it better to use "implicit" router by writing logic on your own end. If the document is of "Org1", send the document with extra param* "_route_:shard1"* and likewise. Snippet from official doc: https

How to routing document for send to particular shard range

2017-11-07 Thread Ketan Thanki
Hi, I have requirement now quite different as I need to set routing key hash for document which confirm it to send to particular shard as its range. I have solrcloud configuration with 4 shard & 4 replica with below shard range. shard1: 8000-bfff shard2: c000- shard

Re: Creating a SolrJ Data Service to send JSON to Solr

2016-08-17 Thread Jennifer Coston
Thank you Alex and Anshum! I will look into both of these. Jennifer From: Anshum Gupta To: solr-user@lucene.apache.org Date: 08/16/2016 08:17 PM Subject:Re: Creating a SolrJ Data Service to send JSON to Solr I would also suggest sending the JSON directly to the JSON end

Re: Creating a SolrJ Data Service to send JSON to Solr

2016-08-16 Thread Anshum Gupta
oking into is to use the > > SolrClient to get the schema fields, create a POJO, walk that POJO to > > create a Solr Document and then add it to Solr but, it doesn’t seem to be > > possible to obtain the fields this way. > > > > I know that the easiest way to add JSON to

Re: Creating a SolrJ Data Service to send JSON to Solr

2016-08-16 Thread Alexandre Rafalovitch
gt; possible to obtain the fields this way. > > I know that the easiest way to add JSON to Solr would be to use a curl > command and send the JSON directly to Solr but this doesn’t match our > requirements, so I need to figure out a way to perform the same operation > using SolrJ. Any other ideas or suggestions would be greatly appreciated! > > Thank you, > > -Jennifer

Creating a SolrJ Data Service to send JSON to Solr

2016-08-16 Thread Jennifer Coston
the schema fields, create a POJO, walk that POJO to create a Solr Document and then add it to Solr but, it doesn’t seem to be possible to obtain the fields this way. I know that the easiest way to add JSON to Solr would be to use a curl command and send the JSON directly to Solr but this doesn’t

Re: Send kill -9 to a node and can not delete down replicas with onlyIfDown.

2016-07-29 Thread Chris Hostetter
> onlyIfDown=false to indicate that you know the replica you are deleting : > isn't 'down' intentionally, but you want do delete it anyway. : > : > : > : > : > : > On Wed, 20 Jul 2016, Erick Erickson wrote: : > : > : Date: Wed, 20 Jul 2016 08:26:32 -0700 : >

Re: Send kill -9 to a node and can not delete down replicas with onlyIfDown.

2016-07-20 Thread Jerome Yang
t; either: a) try to bring the replica back up; b) delete the replica using > onlyIfDown=false to indicate that you know the replica you are deleting > isn't 'down' intentionally, but you want do delete it anyway. > > > > > > On Wed, 20 Jul 2016, Erick Erick

Re: Send kill -9 to a node and can not delete down replicas with onlyIfDown.

2016-07-20 Thread Chris Hostetter
hat you know the replica you are deleting isn't 'down' intentionally, but you want do delete it anyway. On Wed, 20 Jul 2016, Erick Erickson wrote: : Date: Wed, 20 Jul 2016 08:26:32 -0700 : From: Erick Erickson : Reply-To: solr-user@lucene.apache.org : To: solr-user : Subject: R

Re: Send kill -9 to a node and can not delete down replicas with onlyIfDown.

2016-07-20 Thread Erick Erickson
Yes, it's the intended behavior. The whole point of the onlyIfDown flag was as a safety valve for those who wanted to be cautious and guard against typos and the like. If you specify onlyIfDown=false and the node still isn't removed from ZK, it's not right. Best, Erick On Tue, Jul 19, 2016 at 10

Re: Send kill -9 to a node and can not delete down replicas with onlyIfDown.

2016-07-19 Thread Jerome Yang
What I'm doing is to simulate host crashed situation. Consider this, a host is not connected to the cluster. So, if a host crashed, I can not delete the down replicas by using onlyIfDown='true'. But in solr admin ui, it shows down for these replicas. And whiteout "onlyIfDown", it still show a fai

Re: Send kill -9 to a node and can not delete down replicas with onlyIfDown.

2016-07-19 Thread Justin Lee
Thanks for taking the time for the detailed response. I completely get what you are saying. Makes sense. On Tue, Jul 19, 2016 at 10:56 AM Erick Erickson wrote: > Justin: > > Well, "kill -9" just makes it harder. The original question > was whether a replica being "active" was a bug, and it's > no

Re: Send kill -9 to a node and can not delete down replicas with onlyIfDown.

2016-07-19 Thread Erick Erickson
Justin: Well, "kill -9" just makes it harder. The original question was whether a replica being "active" was a bug, and it's not when you kill -9; the Solr node has no chance to tell Zookeeper it's going away. ZK does modify the live_nodes by itself, thus there are checks as necessary when a repli

Re: Send kill -9 to a node and can not delete down replicas with onlyIfDown.

2016-07-19 Thread Justin Lee
Pardon me for hijacking the thread, but I'm curious about something you said, Erick. I always thought that the point (in part) of going through the pain of using zookeeper and creating replicas was so that the system could seamlessly recover from catastrophic failures. Wouldn't an OOM condition h

Re: Send kill -9 to a node and can not delete down replicas with onlyIfDown.

2016-07-19 Thread Erick Erickson
First of all, killing with -9 is A Very Bad Idea. You can leave write lock files laying around. You can leave the state in an "interesting" place. You haven't given Solr a chance to tell Zookeeper that it's going away. (which would set the state to "down"). In short when you do this you have to dea

Send kill -9 to a node and can not delete down replicas with onlyIfDown.

2016-07-18 Thread Jerome Yang
Hi all, Here's the situation. I'm using solr5.3 in cloud mode. I have 4 nodes. After use "kill -9 pid-solr-node" to kill 2 nodes. These replicas in the two nodes still are "ACTIVE" in zookeeper's state.json. The problem is, when I try to delete these down replicas with parameter onlyIfDown='tru

Re: Send solr to Production

2016-03-20 Thread Shawn Heisey
On 3/20/2016 5:39 AM, Adel Mohamed Khalifa wrote: > How I need to do or config for sending solr to production. This is an extremely vague question. When you say "config", this could mean the solr config, the core/collection config, the OS config, or possibly even something else. Provide a lot mo

Send solr to Production

2016-03-20 Thread Adel Mohamed Khalifa
Hello All, How I need to do or config for sending solr to production. Regards, Adel Khalifa

Re: CloudSolrClient send routed update/delete by query

2015-10-20 Thread Shalin Shekhar Mangar
Instead of using SolrQuery to make a query request, you can use the UpdateRequest class. Something like the following should do the same as your intended request: CloudSolrClient solr = new CloudSolrClient("127.0.0.1:2181,127.0.0.2:2181, 127.0.0.3:218/solr1"); solr.setIdField("cust"); solr.setDefa

CloudSolrClient send routed update/delete by query

2015-10-20 Thread Troy Collinsworth
Is it possible to execute the following via CloudSolrClient? It works via curl. curl 'http://localhost:8983/solr/asset/update/json?_route_="b!"&json.filter="cust:b";' -H 'Content-type:application/json' -d '{params:{},"delete":{"query":"cust:b"},"commit": {},"optimize": {}}' I've tried the fol

Re: SolrJ: Force SolrServer to send request to specific node

2014-10-24 Thread Shawn Heisey
On 10/24/2014 7:59 AM, nabil Kouici wrote: > Hi All,When using SolrServer we specify only Zookeeper ensemble and this last > will give us reference to solr node to be used. Is it possible to force > SolrServer to use a specific node? You can specify the shards parameter on your request, like you

SolrJ: Force SolrServer to send request to specific node

2014-10-24 Thread nabil Kouici
Hi All,When using SolrServer we specify only Zookeeper ensemble and this last will give us reference to solr node to be used. Is it possible to force  SolrServer to use a specific node? Regards,Nabil. 

Re: Send nested doc with solrJ

2014-09-23 Thread Mikhail Khludnev
Have you tried http://lucene.apache.org/solr/4_9_1/solr-solrj/org/apache/solr/common/SolrInputDocument.html#addChildDocuments%28java.util.Collection%29 Are you sure your SolrJ.jar is not really old? On Tue, Sep 9, 2014 at 6:02 PM, Ali Nazemian wrote: > Dear all, > Hi, > I was wondering how can I

Send nested doc with solrJ

2014-09-09 Thread Ali Nazemian
Dear all, Hi, I was wondering how can I use solrJ for sending nested document to solr? Unfortunately I did not find any tutorial for this purpose. I really appreciate if you can guide me through that. Thank you very much. Best regards. -- A.Nazemian

Re: What is the best approach to send lots of XML Messages to Solr to build index?

2014-06-16 Thread Floyd Wu
Hi Mikhail Thanks for you suggestions. Floyd 2014-06-16 17:28 GMT+08:00 Mikhail Khludnev : > On Mon, Jun 16, 2014 at 6:57 AM, Floyd Wu wrote: > > > Hi Mikhail, > > What is the pros. to disable tlog? > > > I consumes the heap much providing the benefits (real-time get, recover > uncommitted docs

Re: What is the best approach to send lots of XML Messages to Solr to build index?

2014-06-16 Thread Mikhail Khludnev
On Mon, Jun 16, 2014 at 6:57 AM, Floyd Wu wrote: > Hi Mikhail, > What is the pros. to disable tlog? > I consumes the heap much providing the benefits (real-time get, recover uncommitted docs on failure) which are not necessary in old-school bulk index scenario. > Each of my xml file contained t

Re: What is the best approach to send lots of XML Messages to Solr to build index?

2014-06-15 Thread Floyd Wu
Hi Shawn, I've tried to set 4GB heap for Solr and the OOM exception rellay get reduce and also performance gained. Floyd 2014-06-16 0:00 GMT+08:00 Shawn Heisey : > On 6/15/2014 2:54 AM, Floyd Wu wrote: > > Thank you Alex. > > I'm doing commit every 100 fiels. > > Maybe there is a better way to

Re: What is the best approach to send lots of XML Messages to Solr to build index?

2014-06-15 Thread Floyd Wu
index. Currently i'm using my own C# code to send these xml files one by one through HTTP but result poor performance. (parallel will hit OOM or generate lots of tlog files). Actually a main question is "what is the best(better) way to rebuild whole index from scratch". Floyd 2014-0

Re: What is the best approach to send lots of XML Messages to Solr to build index?

2014-06-15 Thread Floyd Wu
Hi Mikhail, What is the pros. to disable tlog? Each of my xml file contained to doc, one is main content and the other is acl. Currently I'm not using SolrCloud due to my poor understanding of this architecture and pros/cons. The main system is developed using .Net C# so using SolrJ won't be a solu

Re: What is the best approach to send lots of XML Messages to Solr to build index?

2014-06-15 Thread Shawn Heisey
On 6/15/2014 2:54 AM, Floyd Wu wrote: > Thank you Alex. > I'm doing commit every 100 fiels. > Maybe there is a better way to do this job, something like DIH(possible?) > Sometimes i have much bigger xml file (2MB) and post to SOLR(jetty enabled) > may encounter slow or exceed limitation. If you ar

Re: What is the best approach to send lots of XML Messages to Solr to build index?

2014-06-15 Thread Erick Erickson
A couple of things: > Consider indexing them with SolrJ, here's a place to get started: > http://searchhub.org/2012/02/14/indexing-with-solrj/. Especially if you use a > SAX-based parser you have more control over memory consumption, it's on the > client after all. And, you can rack together as

Re: What is the best approach to send lots of XML Messages to Solr to build index?

2014-06-15 Thread Mikhail Khludnev
Hello Floyd, Did you consider to disable tlog? Does a file consist of many docs? Do you have SolrCloud? Do you use just sh/curl or have a java program? DIH is not really performant so far. Submitting roughly ten huge files in parallel is a way to perform good. Once again, nuke tlog. On Sun, Jun

Re: What is the best approach to send lots of XML Messages to Solr to build index?

2014-06-15 Thread Floyd Wu
Thank you Alex. I'm doing commit every 100 fiels. Maybe there is a better way to do this job, something like DIH(possible?) Sometimes i have much bigger xml file (2MB) and post to SOLR(jetty enabled) may encounter slow or exceed limitation. Floyd 2014-06-15 16:48 GMT+08:00 Alexandre Rafalovitch

Re: What is the best approach to send lots of XML Messages to Solr to build index?

2014-06-15 Thread Alexandre Rafalovitch
When are you doing commit? You can issue one manually, have one with timeout parameter (commitWithin), or you can configure it to happen automatically (in solrconfig.xml). Regards, Alex. Personal website: http://www.outerthoughts.com/ Current project: http://www.solr-start.com/ - Accelerating y

What is the best approach to send lots of XML Messages to Solr to build index?

2014-06-15 Thread Floyd Wu
Hi, I have many XML Message file formatted like this https://wiki.apache.org/solr/UpdateXmlMessages These files are generated by my index builder daily. Currently I am sending these file through http post to Solr but sometimes I hit OOM exception or pending too many tlog. Do you have better way t

Re: Question to send

2014-05-23 Thread Shalin Shekhar Mangar
You'll have better luck asking the folks at OpenNLP. This isn't really a Solr question. On Fri, May 23, 2014 at 6:38 PM, rashi gandhi wrote: > HI, > > > > I have one running solr core with some data indexed on solr server. > > This core is designed to provide OpenNLP functionalities for indexin

Fwd: Question to send

2014-05-23 Thread rashi gandhi
HI, I have one running solr core with some data indexed on solr server. This core is designed to provide OpenNLP functionalities for indexing and searching. So I have kept following binary models at this location: *\apache-tomcat-7.0.53\solr\collection1\conf\opennlp * · en-sent.bin

Re: Send many files to update/extract

2014-03-17 Thread Alexandre Rafalovitch
HttpSolrServer allows to send multiple documents at once. But they need to be extracted/converted on the client. However, if you know you will be sending a lot of documents to Solr, you are better off to run Tika locally on the client (or as a standalone network server). A lot more performant. I

Send many files to update/extract

2014-03-17 Thread Александр Вандышев
Who knows how to index a lot of files with ExtractingRequestHandler using a single query?

Get the query result from one collection and send it to other collection to for merging the result sets

2013-06-26 Thread Jilani Shaik
Hi, We will have two categories of data, where one category will be the list of primary data (for example products) and the other collection (it could be spread across shards) holds the transaction data (for example product sales data). We have search scenario where we need to show the products

Re: Send Input Through Json into solr

2013-02-13 Thread Sebastian Saip
Ok, I see - you want to send a JSON Object which contains the query parameters. As far as I know, that's not possible out-of-the-box, so you'll have to create a custom SearchHandler http://lucene.apache.org/solr/4_1_0/solr-core/org/apache/solr/handler/component/SearchHandler.html for

Re: Send Input Through Json into solr

2013-02-13 Thread Sebastian Saip
I'm not sure if I understood you.. You want to send a request like http://localhost/solr/select? q=*:*&wt=json&start=0&fq=course_id:"18" and get back only parts of the response for further processing? Then the easiest way is to retrieve the whole json and post-process

Send Input Through Json into solr

2013-02-13 Thread anurag.jain
hey, I want to send query input through json file do not want to give query parameter. so is there any way to send. Like if i give query parameter it give response and in response there is a key call as parameter. so if i send that parameter through json. it will easy for me. let say input

Re: Solr 4.0 doesn't send qt parameter to shards

2013-01-18 Thread Mark Miller
Yeah, shards.qt is the way to go. I think this basically done because of a limitation around early distrib search. If you want to do a distrib search against a bunch of shards and you put the shards to search into the request handler, you then don't want to hit that same request handler on the

Re: Solr 4.0 doesn't send qt parameter to shards

2013-01-18 Thread Shawn Heisey
On 1/18/2013 1:20 PM, Mike Schultz wrote: Can someone explain the logic of not sending the qt parameter down to the shards? I see from here that qt is handled as a special case for ResultGrouping: http://lucidworks.lucidimagination.com/display/solr/Result+Grouping where there is a special shard.

Solr 4.0 doesn't send qt parameter to shards

2013-01-18 Thread Mike Schultz
in context: http://lucene.472066.n3.nabble.com/Solr-4-0-doesn-t-send-qt-parameter-to-shards-tp4034653.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Send plain text file to solr for indexing

2012-08-31 Thread Ahmet Arslan
> Thanks Mr.Yagami. I'll look into that. Hi Bing, You can this data-config.xml to index txt files on disk. Add these fields to schema.xml link

Re: Send plain text file to solr for indexing

2012-08-31 Thread Jack Krupansky
t: Re: Send plain text file to solr for indexing Thanks Mr.Yagami. I'll look into that. Jack, for the latter two options, they both require reading the entire text file into memory, right? Bing -- View this message in context: http://lucene.472066.n3.nabble.com/Send-plain-text-file-t

Re: Send plain text file to solr for indexing

2012-08-31 Thread Bing Hua
Thanks Mr.Yagami. I'll look into that. Jack, for the latter two options, they both require reading the entire text file into memory, right? Bing -- View this message in context: http://lucene.472066.n3.nabble.com/Send-plain-text-file-to-solr-for-indexing-tp4004515p4004772.html Sent fro

Re: Send plain text file to solr for indexing

2012-08-31 Thread Jack Krupansky
your plain text. -- Jack Krupansky -Original Message- From: Bing Hua Sent: Friday, August 31, 2012 10:37 AM To: solr-user@lucene.apache.org Subject: Re: Send plain text file to solr for indexing So in order to use solrcell I'll have to add a number of dependent libraries, whi

Re: Send plain text file to solr for indexing

2012-08-31 Thread Ahmet Arslan
> So in order to use solrcell I'll have > to add a number of dependent libraries, > which is one of what I'm trying to avoid. The second thing > is, solrcell > still parses the plain text files and I don't want it to > make any change to > those of my exported files. You can index plain text file

Re: Send plain text file to solr for indexing

2012-08-31 Thread Bing Hua
this message in context: http://lucene.472066.n3.nabble.com/Send-plain-text-file-to-solr-for-indexing-tp4004515p4004753.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Send plain text file to solr for indexing

2012-08-30 Thread Jack Krupansky
SolrCell can be used to index raw text files as well. -- Jack Krupansky -Original Message- From: Bing Hua Sent: Thursday, August 30, 2012 6:28 PM To: solr-user@lucene.apache.org Subject: Send plain text file to solr for indexing Hello, I used to use solrcell, which has built-in tika

Send plain text file to solr for indexing

2012-08-30 Thread Bing Hua
Hello, I used to use solrcell, which has built-in tika support to handle both extraction and indexing of raw documents. Now I got another text extraction provider to convert raw document to a plain text txt file so I want to let solr bypass that extraction phase. Is there a way I can send the

Re: Searching by location – What do I send to Solr?

2012-05-04 Thread Lance Norskog
t it actually looks pretty good. I may >> be stretching the limit of my question here, but say I did go with geonames, >> if I go back to my model and add a bit: >> >> Search for "London"->Convert "London to Long/Lat"->Send Query to >>

Re: Searching by location – What do I send to Solr?

2012-05-03 Thread Erick Erickson
and add a bit: > > Search for "London"->Convert "London to Long/Lat"->Send Query to > Solr>->Return Query> > > Since my main website is coded in Python, but Solr works in Java, if I was > to create or use an existing script to allow me to

Re: Searching by location – What do I send to Solr?

2012-05-03 Thread Spadez
I discounted geonames to start with but it actually looks pretty good. I may be stretching the limit of my question here, but say I did go with geonames, if I go back to my model and add a bit: Search for "London"->Convert "London to Long/Lat"->Send Query

Re: Searching by location – What do I send to Solr?

2012-05-03 Thread Jack Krupansky
@lucene.apache.org Subject: Re: Searching by location – What do I send to Solr? Have you tried www.geonames.org ? - Michael On Thu, 2012-05-03 at 12:20 -0700, Spadez wrote: Hi, This is quite a challenge. I know there are situations when you can get by with google maps api or similar, but they limit

RE: Searching by location - What do I send to Solr?

2012-05-03 Thread Welty, Richard
..@hotmail.com] Sent: Thu 5/3/2012 3:20 PM To: solr-user@lucene.apache.org Subject: Re: Searching by location - What do I send to Solr? Hi, This is quite a challenge. I know there are situations when you can get by with google maps api or similar, but they limit the number of requests and I

Re: Searching by location – What do I send to Solr?

2012-05-03 Thread Michael Della Bitta
t, unfortunatly for the full service they charge a > fortune! > > So, going back to my question, does anyone have any ideas or suggestions of > a good solution? > > Search for "London"----->*Convert "London to Long/Lat"*->Send Query to > Solr>--

Re: Searching by location – What do I send to Solr?

2012-05-03 Thread Spadez
suggestions of a good solution? Search for "London"->*Convert "London to Long/Lat"*->Send Query to Solr>->Return Query> -- View this message in context: http://lucene.472066.n3.nabble.com/Searching-by-location-What-do-I-send-to-Solr-tp3959296p396

Re: Searching by location – What do I send to Solr?

2012-05-03 Thread Erick Erickson
L", which is in London, how does Solr know the long / lat of this? > > Do I have to query Solr by using Long / Lat, in which case, when a user > submits a request for "SE1 2EL" I have to convert this to Long / Lat first > and then send this query to Solr? > > I

Searching by location – What do I send to Solr?

2012-05-03 Thread Spadez
EL" I have to convert this to Long / Lat first and then send this query to Solr? I hope I have explained myself well, I would really like to know how others have solved this. James -- View this message in context: http://lucene.472066.n3.nabble.com/Searching-by-location-What-do-I-send-to-Sol

a way to transform doc and send it to a second core?

2012-04-16 Thread jmlucjav
better way/predefined hook? The reason behind this is that I want to split a multivalued field into a non-multivalued filed, each value being a diff document. thanks xab -- View this message in context: http://lucene.472066.n3.nabble.com/a-way-to-transform-doc-and-send-it-to-a-second-core

Re: Send SOLR logs to syslog

2012-02-24 Thread Mark Miller
t 3:38 PM, Anand Henry wrote: > >> Hi, >> >> How do you configure default SOLR app running on jetty to send logs to >> syslog? I am using Solr 3.4. >> >> I understand I have to direct it via slf4j to log4j to syslog. Here is >> what I have done so far, b

Re: Send SOLR logs to syslog

2012-02-24 Thread Anand Henry
Forgot to mention, I also append arg '-Djava.util.logging.config.file=log4j.properties' on start up. On Fri, Feb 24, 2012 at 3:38 PM, Anand Henry wrote: > Hi, > > How do you configure default SOLR app running on jetty to send logs to > syslog? I am using Solr 3.4. >

Re: How to send an OpenBitSet object from Solr server?

2011-09-01 Thread Chris Hostetter
: I was not referring to Lucene's doc ids but the doc numbers (unique key) Uh ... ok. this is why i asked you waht you were planning on doing with the OpenBitSet -- it's just bits, indicating hte offsets of the documents in the total index. having access to a copy of that on the lcient side

Re: How to send an OpenBitSet object from Solr server?

2011-08-30 Thread Satish Talim
I was not referring to Lucene's doc ids but the doc numbers (unique key) Satish On Tue, Aug 30, 2011 at 9:28 PM, Chris Hostetter wrote: > > : We have a need to query and fetch millions of document ids from a Solr > 3.3 > : index and convert the same to a BitSet. To speed things up, we want to

Re: How to send an OpenBitSet object from Solr server?

2011-08-30 Thread Chris Hostetter
: We have a need to query and fetch millions of document ids from a Solr 3.3 : index and convert the same to a BitSet. To speed things up, we want to : convert these document ids into OpenBitSet on the server side, put them into : the response object and read the same on the client side. This sme

Re: How to send an OpenBitSet object from Solr server?

2011-08-30 Thread Federico Fissore
Satish Talim, il 30/08/2011 14:22, ha scritto: But how to throw? As a stream of bits? getBits() return a long[] add a long[] part to your response rb.rsp.add("long_array", obs.getBits()) federico

Re: How to send an OpenBitSet object from Solr server?

2011-08-30 Thread Satish Talim
But how to throw? As a stream of bits? Satish On Tue, Aug 30, 2011 at 5:39 PM, Federico Fissore wrote: > Satish Talim, il 30/08/2011 05:42, ha scritto: > [...] > > >> Is there a work-around wherein I can send an OpenBitSet object? >> >> > JavaBinCodec (used by

Re: How to send an OpenBitSet object from Solr server?

2011-08-30 Thread Federico Fissore
Satish Talim, il 30/08/2011 05:42, ha scritto: [...] Is there a work-around wherein I can send an OpenBitSet object? JavaBinCodec (used by default by solr) supports writing arrays. you can "getBits()" from openbitset and throw them into the binary response federico

Re: How to send an OpenBitSet object from Solr server?

2011-08-30 Thread Federico Fissore
Satish Talim, il 30/08/2011 05:42, ha scritto: [...] Is there a work-around wherein I can send an OpenBitSet object? JavaBinCodec (used by default by solr) supports writing arrays. you can "getBits()" from openbitset and throw them into the binary response federico

How to send an OpenBitSet object from Solr server?

2011-08-29 Thread Satish Talim
s." Is there a work-around wherein I can send an OpenBitSet object? Satish

Using Scriptransformer to send a HTTP Request

2011-07-21 Thread sabman
I am using solr to index RSS feeds and I am using DataImportHandler to parse the urls and then index them. Now I have implemented a web service that takes a url and creates an thumbnail image and stores it in a local directory. So here is what I want to do: After the url is parsed, I want to send

Re: I send a email to lucene-dev solr-dev lucene-user but always failed

2011-03-11 Thread Li Li
Problem of Replication Reservation Durationhi all, I tried to send this mail to solr dev mail list but it tells me this is a spam. So I send it again and to lucene dev too. The replication handler in solr 1.4 which we used seems to be a little problematic in some extreme situation. The

I send a email to lucene-dev solr-dev lucene-user but always failed

2011-03-11 Thread Li Li
hi it seems my mail is judged as spam. Technical details of permanent failure: Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other

send XML multiValued Field Solr-PHP-Client

2010-12-01 Thread stockii
Hello. do anyone using Solr-PHP-Client ? how are you using mutltivalued fields with the method addFields() ? solr says to me SCHWERWIEGEND: java.lang.NumberFormatException: empty String when i send a raw xml like this: 24038608 778 reason1 reason1 in schema i defined: why dont work

Re: Fwd: send to list

2010-07-16 Thread kenf_nc
r document along with the specific lat and lon. Then your facet query gets much simpler. -- View this message in context: http://lucene.472066.n3.nabble.com/Fwd-send-to-list-tp973191p973233.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: send to list

2010-07-16 Thread Mattmann, Chris A (388J)
[cid:3362123455_49287900] By one location, I mean one square on a grid of 10 x 10 squares = 100 squares. I am trying out facets for this, but the request string is enormous, and when I send a request for 30 facets the query time increases from 5ms to 355ms. Here is what such a

Re: How to send web pages(urls) to solr cell via solrj?

2010-02-09 Thread Jan Høydahl / Cominvent
t; NamedList result = server.request(req); > assertNotNull("Couldn't upload index.pdf", result); > QueryResponse rsp = server.query(new SolrQuery("*:*")); > Assert.assertEquals(1, rsp.getResults().getNumFound()); > > any suggestion or answer will be appreciated. > > > -- > View this message in context: > http://old.nabble.com/How-to-send-web-pages%28urls%29-to-solr-cell-via-solrj--tp27450083p27450083.html > Sent from the Solr - User mailing list archive at Nabble.com. >

How to send web pages(urls) to solr cell via solrj?

2010-02-04 Thread dhamu
*")); Assert.assertEquals(1, rsp.getResults().getNumFound()); any suggestion or answer will be appreciated. -- View this message in context: http://old.nabble.com/How-to-send-web-pages%28urls%29-to-solr-cell-via-solrj--tp27450083p27450083.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: why cant i send to solr using jquery post/get function?

2009-12-14 Thread Faire Mii
firebug shows no response. i have tried to use "index.php" instead of the solr url and then it works and i get an alert. but when i enter: http://localhost:8983/solr/select/?q=body:hello as the url it doesnt work and nothing shows in firebug. i dont think it communicates with the solr. is t

  1   2   >