Problems with deletion with 1.4

2010-06-21 Thread Darren Davis
I'm using SOLR 1.4 with a few multi-cores, running under a Tomcat 6 environment. I'm using the web services to pass xml documents for adding records with no problem, using a URL on my development machine of http://localhost:8080/Solr/product/update/; I've tried implementing an XML-based delete,

Re: Field Collapsing SOLR-236

2010-06-21 Thread Rakhi Khatwani
Hi, Oh in that case is the code stable enough to use it for production? Does it support features which solr 1.4 normally supports? I am using facets as a workaround but then i am not able to sort on any other field. is there any workaround to support this feature?? Regards, Raakhi On Fri,

Re: Problems with deletion with 1.4

2010-06-21 Thread Ahmet Arslan
I'm using SOLR 1.4 with a few multi-cores, running under a Tomcat 6 environment.  I'm using the web services to pass xml documents for adding records with no problem, using a URL on my development machine of http://localhost:8080/Solr/product/update/; I've tried implementing an

Re: Problems with deletion with 1.4

2010-06-21 Thread Darren Davis
That does work. I re-checked my code, and there was a bug which submitted an empty string as the xml instead of the generated delete command. With this fixed, it seems to work without a problem. On Mon, Jun 21, 2010 at 1:21 AM, Ahmet Arslan iori...@yahoo.com wrote: How are you submitting

Saravanan Chinnadurai/Actionimages is out of the office.

2010-06-21 Thread Saravanan . Chinnadurai
I will be out of the office starting 21/06/2010 and will not return until 19/07/2010. Please email to itsta...@actionimages.com for any urgent issues. (Embedded image moved to file: pic31907.jpg)

Re: Minor bug in Solritas with post-facet search

2010-06-21 Thread Chantal Ackermann
Hi Eric, only with POST the action attribute in the form element is allowed to have a query string. With GET, the query string is removed. (Don't ask me why, though.) Chantal On Sun, 2010-06-20 at 04:44 +0200, Erik Hatcher wrote: Fixed. form action URLs really shouldn't have query string

Re: OOM on sorting on dynamic fields

2010-06-21 Thread Matteo Fiandesio
Compiling solr with lucene 2.9.3 instead of 2.9.1 will solve this issue? Regards, Matteo On 19 June 2010 02:28, Lance Norskog goks...@gmail.com wrote: The Lucene implementation of sorting creates an array of four-byte ints for every document in the index, and another array of the unique values

collapse exception

2010-06-21 Thread Li Li
it says Either filter or filterList may be set in the QueryCommand, but not both. I am newbie of solr and have no idea of the exception. What's wrong with it? thank you. java.lang.IllegalArgumentException: Either filter or filterList may be set in the QueryCommand, but not both. at

problems with clustering on a multi core set up

2010-06-21 Thread Robert Neve
hi, I am new to solr and have been trying to get clustering set up and working. I ran the command ant get-libraries and it successfully completed so I assume all the files I need are now installed on my server (centos). When I try to restart tomcat however I get this error in the log Jun 21,

Solr relational date cost data

2010-06-21 Thread Chris Finch
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I want to be able to store property information in Solr, including descriptions, tags, keywords etc. This is really easy to do. But also I need to be able to store a range of dates that the property is available along with costings. Currently we're

Re: Solr relational date cost data

2010-06-21 Thread Peter Karich
Do you need to search (or facetting, filtering) through the dates or costs? Maybe you can store only the max and min price and the available-date-range in solr? And then get detailed information from an additional database-query? Peter. I want to be able to store property information in Solr,

Re: Solr relational date cost data

2010-06-21 Thread Chris Finch
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Need to search, facet and filter, sadly. Right now I am working on just storing the date ranges and min/max prices as you suggested, seemed like the best solution so far. Thanks for confirming the idea for me though. On 21/06/10 12:33, Peter Karich

solr string field

2010-06-21 Thread ZAROGKIKAS,GIORGOS
Hi I use a string Field in my solr schema but when I query a value with space it doesn't give me results e.g I have a value sony vaio when I query with sony vaio I get 0 results but when I query sony* I get my results how can I query a string

Re: Solr relational date cost data

2010-06-21 Thread Dennis Gearon
Interesting, pre calculated, different prices on different days of the week? So houses are like groceries, huh? :-) Dennis Gearon Signature Warning EARTH has a Right To Life, otherwise we all die. Read 'Hot, Flat, and Crowded' Laugh at http://www.yert.com/film.php --- On

Re: Data Import Handler Rich Format Documents

2010-06-21 Thread Alexey Serba
You are right. It seems TikaEntityProcessor is exactly the tool you need in this case. Alex On Sat, Jun 19, 2010 at 2:59 AM, Chris Hostetter hossman_luc...@fucit.org wrote: : I think you can use existing ExtractingRequestHandler to do the job, : i.e. add child entity to your DIH metadata why

Re: Solr relational date cost data

2010-06-21 Thread Chris Finch
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yep, houses are just basic commodities in this case. I decided to go for a single entry in the index per date of each property because it makes faceting and querying so much easier and means I can also use facet.limit=-1 for distinct properties. My

Re: solr string field

2010-06-21 Thread Erik Hatcher
Or even better for an exact string query: q={!raw f=field_name}sony vaio (that's NOT URL encoded, but needs to be when sending the request over HTTP) Erik On Jun 21, 2010, at 9:43 AM, Jan Høydahl / Cominvent wrote: Hi, You either need to quote your string:

Re: Mr Lance : customize the search algorithm of solr

2010-06-21 Thread sarfaraz masood
Mr Lance Thanks a lot for ur reply.. I am a novice a solr / lucene. but i have gone thru the documentations of both.I have even implemented programs in lucene for searching etc. My problem is to apply a new search technique other than the one used by solr. Step 1: My algorithm finds the tf idf

Sort facet Field by name

2010-06-21 Thread Ankit Bhatnagar
Hi All, I couldn't really figure out if we a have option for sorting the facet field by name in ascending/descending. Any clues? Thanks Ankit

Re: Sort facet Field by name

2010-06-21 Thread Geert-Jan Brits
facet.sort=false http://wiki.apache.org/solr/SimpleFacetParameters#facet.sort 2010/6/21 Ankit Bhatnagar abhatna...@vantage.com Hi All, I couldn't really figure out if we a have option for sorting the facet field by name in ascending/descending. Any clues? Thanks Ankit

Alternative for field collapsing

2010-06-21 Thread Rakhi Khatwani
Hi, I have an index with the following fields: id (unique) title description price. Suppose i want to find unique documents and count of all documents with the same title, sorted on price. How do i go about it. Knowing that field collapsing is not stable with 1.4.

Re: Minor bug with Solritas and price data

2010-06-21 Thread Ken Krugler
On Jun 19, 2010, at 7:48pm, Erik Hatcher wrote: That's not a bug with the example schema, as price is a single- valued field. getFirstValue will work, yes, but isn't necessary when it's single valued. If you've got multiple prices, you probably want something like: #foreach($price in

Configuring RequestHandler in solrconfig.xml OR in the Servlet code using SolrJ

2010-06-21 Thread Saïd Radhouani
Hello, I'm developing a Web application that communicate with Solr using SolrJ. I have three search interfaces, and I'm facing two options: 1- Configuring one SearchHandler per search interface in solrconfig.xml Or 2- Write the configuration in the java servlet code that is using SolrJ It

Re: Minor bug with Solritas and price data

2010-06-21 Thread Chris Hostetter
: Here's what's in my schema: : : field name=price type=float indexed=true stored=true/ : : Which is exactly what was in the original example schema. but what does hte version property of your schema say (at the top) this is what's in the example... schema name=example version=1.3 !--

Re: Reindexing only occurs after bouncing app

2010-06-21 Thread Chris Hostetter
: 39 CoreContainer.Initializer initializer = new CoreContainer.Initializer(); : 40 coreContainer = initializer.initialize(); 41 solrServer = new : EmbeddedSolrServer(coreContainer, ); : A method that does this can be invoked over HTTP service to force the : reindexing: our of curiousity: why

Re: Solr / Solrj Wildcard Phrase Searches

2010-06-21 Thread Chris Hostetter
: Subject: Solr / Solrj Wildcard Phrase Searches : References: aanlktim3gfkamq4bq9qj_afyrw8rodjum3lrtqoor...@mail.gmail.com : In-Reply-To: aanlktim3gfkamq4bq9qj_afyrw8rodjum3lrtqoor...@mail.gmail.com http://people.apache.org/~hossman/#threadhijack Thread Hijacking on Mailing Lists When starting

Re: Minor bug with Solritas and price data

2010-06-21 Thread Ken Krugler
Hi Hoss, You're the man. I'd copied/pasted the 1.3 schema fields into my testbed schema, which was based on the version of Solr we were using back in the Dark Ages, when the version was 1.0 (and there was no such handy comment warning about changing the version :)) So fields were

Re: Question on dynamic fields

2010-06-21 Thread Chris Hostetter
: which I want to do whole word search only.. I made those 2 fields to be of : type 'string'. : : field name=uid type=string indexed=true stored=true/ : : I also have a dynamic field with textgen field type as below : : dynamicField name=* type=textgen indexed=true stored=true :

Re: Bizarre TFV output

2010-06-21 Thread Chris Hostetter
: : field name=text_t type=text indexed=true stored=true : multiValued=true termVectors=true termPositions=true : termOffsets=true/ : : It uses the text field type as its defined in Solr schema. I didn't : change it. which version of Solr? (the schema is just an example, and the field types

Re: Configuring RequestHandler in solrconfig.xml OR in the Servlet code using SolrJ

2010-06-21 Thread Abdelhamid ABID
Why would someone port the solr config into servlet code ? IMO the first option would be the best choice, one obvious reason is that, when alter the solr config you only need to restart the server, whereas changing in the source drive you to redeploy your app and restart the server. On

Re: Sort facet Field by name

2010-06-21 Thread Chris Hostetter
: I couldn't really figure out if we a have option for sorting the facet : field by name in ascending/descending. facet fields are returned inthe order the client requests them, so if you wnat them in a differnet order just ask for them i na differnet order. FWIW: this isn't evne a good idea

Re: Alternative for field collapsing

2010-06-21 Thread Peter Karich
Hi Raakhi, First, field collapsing works pretty well in our system. And, as Martin has said on 17.06.2010 in the other thread Field Collapsing SOLR-236: I've added a new patch to the issue, so building the trunk (rev 955615) with the latest patch should not be a problem. Due to recent changes in

Re: Configuring RequestHandler in solrconfig.xml OR in the Servlet code using SolrJ

2010-06-21 Thread Saïd Radhouani
I completely agreed. Thanks a lot! -S On Jun 21, 2010, at 9:08 PM, Abdelhamid ABID wrote: Why would someone port the solr config into servlet code ? IMO the first option would be the best choice, one obvious reason is that, when alter the solr config you only need to restart the server,

Re: Field Collapsing SOLR-236

2010-06-21 Thread Martijn v Groningen
Oh in that case is the code stable enough to use it for production? - Well this feature is a patch and I think that says it all. Although bugs are fixed it is deferentially an experimental feature and people should keep that in mind when using one of the patches. Does it support features

Re: collapse exception

2010-06-21 Thread Martijn v Groningen
What version of Solr and which patch are you using? On 21 June 2010 11:46, Li Li fancye...@gmail.com wrote: it says  Either filter or filterList may be set in the QueryCommand, but not both. I am newbie of solr and have no idea of the exception. What's wrong with it? thank you.

Indexing Different Types

2010-06-21 Thread Divine Mercy
Hi I have a requirement and I am wondering what is the best way to handle this through Solr. I have different types of unrelated data for example categories, tags and some address information. I would like to implement auto complete on this information, so there would be an auto complete

Re: Can query boosting be used with a custom request handlers?

2010-06-21 Thread Marc Sturlese
Maybe this helps: http://wiki.apache.org/solr/SolrPlugins#QParserPlugin -- View this message in context: http://lucene.472066.n3.nabble.com/Can-query-boosting-be-used-with-a-custom-request-handlers-tp884499p912691.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: diff logging for each solr-core?

2010-06-21 Thread Peter Karich
Hi Alex, finally found a solution through stackoverflow: http://stackoverflow.com/questions/3025464/how-to-deploy-the-same-webapp-with-different-logging-tomcat-solr = http://www.lucidimagination.com/search/document/CDRG_ch09_9.4.2.1 Excerpt from this link: To change logging settings for Solr

Re: performance sorting multivalued field

2010-06-21 Thread Erick Erickson
Well, sorting requires that all the unique values in the target field get loaded into memory, so it's possible that's the culprit. This would likely only show up if you have a relatively small test set, or the multivalued entries that you added are new to your corpus. To test this stab in the

Re: Can query boosting be used with a custom request handlers?

2010-06-21 Thread John Wang
Thanks Marc! -John On Mon, Jun 21, 2010 at 2:08 PM, Marc Sturlese marc.sturl...@gmail.comwrote: Maybe this helps: http://wiki.apache.org/solr/SolrPlugins#QParserPlugin -- View this message in context:

LocalParams?

2010-06-21 Thread Blargy
Huh? Read through the wiki: See http://wiki.apache.org/solr/LocalParams but I still don't understand its utility? Can someone explain to me why this would even be used? Any examples to help clarify? Thanks! -- View this message in context:

Re: collapse exception

2010-06-21 Thread Li Li
I don't know because it's patched by someone else but I can't get his help. When this component become a contrib? Using patch is so annoying 2010/6/22 Martijn v Groningen martijn.is.h...@gmail.com: What version of Solr and which patch are you using? On 21 June 2010 11:46, Li Li

[PECL-DEV] [ANNOUNCEMENT] solr-0.9.11 (beta) Released

2010-06-21 Thread Israel Ekpo
The new PECL package solr-0.9.11 (beta) has been released at http://pecl.php.net/. Release notes - - Added ability to specify response writer in constructor option (wt) - Added new method to set response writer SolrClient::setResponseWriter() - Currently, the only supported response