Re: how to do a Parent/Child Mapping using entities

2009-12-30 Thread magui
Thanks Sascha for your post, but i find it interresting, but in my case i don't want to use an additionnal field, i want to be able with the same schema to do a simple query like : "q=res_url:some url", and a query like the other one; in other word; is there any solution to make two or more multiv

Re: Using the new tokenizer API from a jar file

2009-12-30 Thread Ahmed El-dawy
Thanks all for your interest, especially Uwe. I asked this question on solr-user at the beginning but I got no reply. That's why I re-asked the question at java-user. Thanks for your efforts. I will try it now. On Mon, Dec 28, 2009 at 12:02 PM, Uwe Schindler wrote: > I opened https://issues.apac

Re: Checkin mistake - example does not work in trunk

2009-12-30 Thread Grant Ingersoll
ant example is how the solr.war gets generated for the example. It's not checked in. On Dec 29, 2009, at 10:22 PM, Lance Norskog wrote: > The distributed binaries do not include the new spatial types, so the > .../trunk/example/ store app does not start. > > Please either always check in the

Re: Checkin mistake - example does not work in trunk

2009-12-30 Thread Yonik Seeley
On Tue, Dec 29, 2009 at 10:22 PM, Lance Norskog wrote: > The distributed binaries do not include the new spatial types, so the > .../trunk/example/ store app does not start. ? What distributed binaries are you referring to? The nightly builds? Are they missing a jar? -Yonik http://www.lucidimag

Re: performance question

2009-12-30 Thread Grant Ingersoll
On Dec 29, 2009, at 2:19 PM, A. Steven Anderson wrote: > Greetings! > > Is there any significant negative performance impact of using a > dynamicField? There can be an impact if you are searching against a lot of fields or if you are indexing a lot of fields on every document, but for the most

Re: performance question

2009-12-30 Thread A. Steven Anderson
> There can be an impact if you are searching against a lot of fields or if > you are indexing a lot of fields on every document, but for the most part in > most applications it is negligible. > We index a lot of fields at one time, but we can tolerate the performance impact at index time. It pro

StreamingUpdateSolrServer

2009-12-30 Thread Patrick Sauts
Hi All, I'm testing StreamingUpdateSolrServer for indexing but I don't see the last : finished: org.apache.solr.client.solrj.impl.StreamingUpdateSolrServer$Runner@ in my logs. Do I have to use a special function to wait until update is effective ? Another question (maybe easy for you) I'm r

RE:Delete, commit, optimize doesn't reduce index file size

2009-12-30 Thread Giovanni Fernandez-Kincade
Is there another way to make this happen without making further changes to the index? Maybe a bounce of the servlet server? On Tue, Dec 29, 2009 at 1:23 PM, markwaddle wrote: I have an index that used to have ~38M docs at 17.2GB. I deleted all but 13K docs using a delete by query, commit and t

Automating implementation of SolrInfoMBean

2009-12-30 Thread Mat Brown
Hi all, Is there a standard way to automatically update the values returned by the methods in SolrInfoMBean? Particularly those concerning revision control etc. I'm assuming folks don't just update that by hand every commit... Thanks! Mat

Build index by consuming web service

2009-12-30 Thread javaxmlsoapdev
I am in a need of a handler which consumes web serivce and builds index from return results of the service. Until now I was building index by reading data directly from database query using DataImportHandler. There are new functional requirements to index calculated fields in the index and allow

Re: how to do a Parent/Child Mapping using entities

2009-12-30 Thread Ryan McKinley
Ya, structured data gets a little funny. For starters, the order of multi-valued fields should be maintained, so if you have: http://aaa 5 http://bbb 4 the response will return result in order, so you can map them with array indicies. I have played some tricks with a JSON field ana

Re: weird sorting behavior

2009-12-30 Thread Joel Nylund
Hi, so this is only available in 1.5? I tried in 1.4 and got : org.apache.solr.common.SolrException: Error loading class 'solr.CollationKeyFilterFactory' Is there a way to do this in 1.4? The link Shalin sent is a 1.5 link I think. thanks Joel On Dec 25, 2009, at 10:52 PM, Robert Muir wro

Result ordering for Wildcard/Prefix queries or ConstantScoreQueries

2009-12-30 Thread Prasanna R
All documents matched for Wildcard and Prefix queries get the same score as they are scored as a ConstantScoreQuery. Example query - title:abc* In such cases, what determines the ordering of the results? Is it simply the same order in which those document terms appeared when enumerating through th

score = result of function query

2009-12-30 Thread Joe Calderon
how can i make the score be solely the output of a function query? the function query wiki page details something like q=boxname:findbox+_val_:"product(product(x,y),z)"&fl=*,score but that doesnt seems to work --joe

Requesting feedback on solr-spatial plugin

2009-12-30 Thread Mat Brown
Hi all, I've been working on a small Solr plugin to expose the basic functionality of lucene-spatial as unobtrusively as possible. I've got a basic implementation up and passing tests, and I was hoping to get some feedback on it. Though I've coded against Lucene for a production app in the past, t

Re: how to do a Parent/Child Mapping using entities

2009-12-30 Thread Sascha Szott
Hi, Thanks Sascha for your post, but i find it interresting, but in my case i don't want to use an additionnal field, i want to be able with the same schema to do a simple query like : "q=res_url:some url", and a query like the other one; You could easily write your own query parser (QParserPlug

Re: Requesting feedback on solr-spatial plugin

2009-12-30 Thread Grant Ingersoll
Hi Mat, This is an area of active work in Solr right now (see SOLR-773 in JIRA for the top level tracking issue). Obviously you can do as you wish, but it would be really great if you chipped in on making the capabilities in Solr better (we've already added in the Lucene spatial jar, a bunch o

Re: score = result of function query

2009-12-30 Thread Grant Ingersoll
On Dec 30, 2009, at 5:27 PM, Joe Calderon wrote: > how can i make the score be solely the output of a function query? > > the function query wiki page details something like > q=boxname:findbox+_val_:"product(product(x,y),z)"&fl=*,score > > Wrap the non-function query part in parenthesis and

Re: Result ordering for Wildcard/Prefix queries or ConstantScoreQueries

2009-12-30 Thread Grant Ingersoll
On Dec 30, 2009, at 3:21 PM, Prasanna R wrote: > All documents matched for Wildcard and Prefix queries get the same score as > they are scored as a ConstantScoreQuery. Example query - title:abc* > > In such cases, what determines the ordering of the results? Is it simply the > same order in whic

Re: Requesting feedback on solr-spatial plugin

2009-12-30 Thread Mattmann, Chris A (388J)
Hi Mat, Taking a quick look at your code via the gitHub browser (and not having downloaded or run it, that's for later! :) ), it looks _very_ clean, and well commented. Bravo! If you get a chance and are interested in participating in the SOLR spatial effort, there are a few issues you could take

Re: Checkin mistake - example does not work in trunk

2009-12-30 Thread Lance Norskog
Rats! I did not rebuild after updating, so the new schema.xml tripped over my old example solr.war. Never mind. On 12/30/09, Yonik Seeley wrote: > On Tue, Dec 29, 2009 at 10:22 PM, Lance Norskog wrote: >> The distributed binaries do not include the new spatial types, so the >> .../trunk/example/

serialize SolrInputDocument to java.io.File and back again?

2009-12-30 Thread Phillip Rhodes
I want to store a SolrInputDocument to the filesystem until it can be sent to the solr server via the solrj client. I will be using a quartz job to periodically query a table that contains a listing of SolrInputDocuments stored as java.io.File that need to be processed. Thanks for your time.

Re: Requesting feedback on solr-spatial plugin

2009-12-30 Thread Mat Brown
Hi Grant, Thanks for the info and your point is well taken. I should have been clearer that I have no intention of this project being a long-term solution for spatial search in Solr - rather I was looking to build a rough and ready solution that gives some basic spatial search capabilities to tide

Correct syntax for solrJ filter queries

2009-12-30 Thread Jay Fisher
I'm using solrJ to construct a query and it works just fine until I add the following. query.setFilterQueries("price:[*+TO+500]", "price:[500+TO+*]"); That generates this error Caused by: org.apache.solr.common.SolrException: Bad Request Bad Request request: http://balboa:8085/apache-solr

RE: Search both diacritics and non-diacritics

2009-12-30 Thread Olala
I have done follow it, but if I query with diacritic it respose only non-diacritic. But I want to query without diacritic anh then solr will be response both of diacritic and without diacritic :( Steven A Rowe wrote: > > Hi Olala, > > You can get something similar to what you want by copying

Re: Correct syntax for solrJ filter queries

2009-12-30 Thread Erik Hatcher
Use query.addFacetQuery(str) instead. Erik On Dec 30, 2009, at 10:16 PM, Jay Fisher wrote: I'm using solrJ to construct a query and it works just fine until I add the following. query.setFilterQueries("price:[*+TO+500]", "price:[500+TO+*]"); That generates this error Caused by:

Re: absolute search

2009-12-30 Thread Olala
Can anyone help me??? plz! Olala wrote: > > uhm,I am sorry, this is the debug :) > > > "book" > "book" > +DisjunctionMaxQuery((name:book)~0.01) () > +(name:book)~0.01 () > − > > − > > > 7.903358 = (MATCH) sum of: > 7.903358 = (MATCH) fieldWeight(name:book in 19533), product of: > 1.0

Re: Result ordering for Wildcard/Prefix queries or ConstantScoreQueries

2009-12-30 Thread Prasanna R
On Wed, Dec 30, 2009 at 5:04 PM, Grant Ingersoll wrote: > > On Dec 30, 2009, at 3:21 PM, Prasanna R wrote: > > > All documents matched for Wildcard and Prefix queries get the same score > as > > they are scored as a ConstantScoreQuery. Example query - title:abc* > > > > In such cases, what determ

Re: Correct syntax for solrJ filter queries

2009-12-30 Thread Jay Fisher
Thanks! That did it. ~ Jay On Wed, Dec 30, 2009 at 9:58 PM, Erik Hatcher wrote: > Use query.addFacetQuery(str) instead. > >Erik > > > On Dec 30, 2009, at 10:16 PM, Jay Fisher wrote: > > I'm using solrJ to construct a query and it works just fine until I add >> the >> following. >> >> >>

numFound is changing when query across distributed-seach with the same query.

2009-12-30 Thread johnson hong
Hi,all. I found a problem on distributed-seach. when i use "?q=keyword&start=0&rows=20" to query across distributed-seach,it will return numFound="181" ,then I change the start param from 0 to 100,it will return numFound="131". why return different numFound with same query ? -- V