Re: Pattern: Is there a method of resolving multivalued date ranges into a single document?

2011-06-11 Thread David Smiley (@MITRE.org)
Judioo, This is an interesting problem I've contemplated before. I've been working on geospatial support for Solr using a prefix/tree/grid technique that supports multi-valued fields. Geo/spatial might be 2D (x,y), but your problem is 1D (time) which means you can use spatial techniques just by ig

Re: [ANNOUNCEMENT] PHP Solr Extension 1.0.1 Stable Has Been Released

2011-06-11 Thread Israel Ekpo
it looks like you have to upgrade to php 5.3.x Unfortunately, it looks like that method signature was different in that version of PHP. I would have to make additional changes to support the earlier versions of PHP On Tue, Jun 7, 2011 at 9:05 AM, roySolr wrote: > Hello, > > I have some problem

Re: Pattern: Is there a method of resolving multivalued date ranges into a single document?

2011-06-11 Thread Michael Sokolov
Juidoo - there's no field wildcarding in Solr as your example shows. You might want to consider building a document for each movie time that includes all the information you need to search on: times, movie name, and other details. Otherwise you need a join operation to search across related d

Re: Calculating memory consumption FVH

2011-06-11 Thread Koji Sekiguchi
(11/06/12 8:27), Markus Jelsma wrote: Hi, How can i calculate the memory requirements for highlighting documents where the variables are number of documents to highlight and the total size of the documents in a single request? I can then multiply a worst-case result set with the expected concurr

can't determine sort order?

2011-06-11 Thread Jason Toy
I am trying to use sorting by function on solr 3.2 and it doesn't now workt with termfreq. I do this query: /solr/select?q=test&qf=all_lists_text&defType=dismax&sort=termfreq%28all_lists_text%2Ctest%29+desc&rows=50 I get this error: Can't determine Sort Order: 'termfreq(description_text,'test')

Calculating memory consumption FVH

2011-06-11 Thread Markus Jelsma
Hi, How can i calculate the memory requirements for highlighting documents where the variables are number of documents to highlight and the total size of the documents in a single request? I can then multiply a worst-case result set with the expected concurrency. For example, with a _limited_

Re: SolrCloud Feedback

2011-06-11 Thread Lance Norskog
Replication's polling technique does not scale to massively multicore environments. What is the official answer for this problem? "Use ZK and cloud?" On Sat, Jun 11, 2011 at 7:11 AM, Mark Miller wrote: > Jan, I feel terrible for leaving you hanging on this - I missed this email > entirely. Seem

Pattern: Is there a method of resolving multivalued date ranges into a single document?

2011-06-11 Thread Judioo
Hi All, Question on best methods again :) I have the following type of document. Tron . where theater identifies the place where the film is showing. Each theater is stored in another document. I want to store the timings in the same document as the film details.

Re: Multiple Values not getting Indexed

2011-06-11 Thread Gora Mohanty
On Sat, Jun 11, 2011 at 9:52 PM, Pawan Darira wrote: > sorry for the inconvenience. actually i was trying the solution suggested in > this mail thread. As mentioned in 1st mail, > > I am trying to index 2 fields with multiple values. BUT, it is only putting > 1 value for each & ignoring rest of th

RE: FastVectorHighlighter and hl.fragsize parameter set to zero causes exception

2011-06-11 Thread Burton-West, Tom
Thank you Koji, I'll take a look at SingleFragListBuilder, LUCENE-2464, and SOLR-1985, and I will update the wiki on Monday. Tom There is SingleFragListBuilder for this purpose. Please see: https://issues.apache.org/jira/browse/LUCENE-2464 > 3) A

Re: Document has fields with different update frequencies: how best to model

2011-06-11 Thread lee carroll
Thanks Jay for the quick reply. Maybe we can set up a dev env with trunk and use JOIN. Is JOIN a good use case for this ? On 11 June 2011 15:28, Jay Luker wrote: > You are correct that ExternalFileField values can only be used in > query functions (i.e. scoring, basically). Sorry for firing off

Re: Multiple Values not getting Indexed

2011-06-11 Thread Pawan Darira
sorry for the inconvenience. actually i was trying the solution suggested in this mail thread. As mentioned in 1st mail, I am trying to index 2 fields with multiple values. BUT, it is only putting 1 value for each & ignoring rest of the values after comma(,). I am fetching query through DIH. It wo

Re: wildcard search

2011-06-11 Thread Thomas Fischer
Hi Ahmet, >> so I created a fake license >> ComplexPhrase-LICENSE-MIT.txt >> for ComplexPhrase and tried again, which ran through >> successfully, I hope this is OK. > > I didn't used it with solr 3.2. I will check about it. > > So your GOK field already contains the list as multivalued. Then y

Re: Solr indexing questions

2011-06-11 Thread Jamie Johnson
I'm not sure about your first question but your second question (searching across fields using a single keyword) I believe is exactly what dismax was created for, check out http://www.lucidimagination.com/blog/2010/05/23/whats-a-dismax/ for some information. In regards to spelling errors you could

Re: Solr Cloud shard shutdown problem

2011-06-11 Thread Jamie Johnson
For some reasons my emails are getting rejected, but I had another question related to SolrCloud When solr is setup using SolrCloud with several shards, each with another system setup for replication (per http://wiki.apache.org/solr/SolrCloud#Example_B:_Simple_two_shard_cluster_with_shard_repl

Solr indexing questions

2011-06-11 Thread Frank A
I currently have my site setup using SOLR for some pretty simple queries and am looking to add some additional features and was hoping to get some guidance. Heres my situation, for a given restaurant I have the following info: rest name, editorial, list of features (e.g. Reservations, Good for Gr

Re: Solr Cloud shard shutdown problem

2011-06-11 Thread Jamie Johnson
Thanks Mark, completely agree. I've created the following JIRA (SOLR-2587) which I believe captures this. Again thanks for the information. On Sat, Jun 11, 2011 at 10:13 AM, Mark Miller wrote: > > On Jun 11, 2011, at 4:07 PM, Jamie Johnson wrote

Re: Document has fields with different update frequencies: how best to model

2011-06-11 Thread Jay Luker
You are correct that ExternalFileField values can only be used in query functions (i.e. scoring, basically). Sorry for firing off that answer without reading your use case more carefully. I'd be inclined towards giving your Option #1 a try, but that's without knowing much about the scale of your a

Re: Solr Cloud shard shutdown problem

2011-06-11 Thread Mark Miller
On Jun 11, 2011, at 4:07 PM, Jamie Johnson wrote: > Would it be reasonable to have > such an indication or is it an all or nothing proposition? Yes, I think you certainly want to know if you only got partial results - we have talked about this type of thing in the past, just never gotten it do

Re: SolrCloud Feedback

2011-06-11 Thread Mark Miller
Jan, I feel terrible for leaving you hanging on this - I missed this email entirely. Seems some of these should be made JIRA issues if they are not already? bq. j) Question: Is ReplicationHandler ZK-aware yet? As I think you now know, not yet ;) - Mark On Feb 14, 2011, at 4:40 PM, Jan Høydahl

Re: SolrCloud Feedback

2011-06-11 Thread Mark Miller
Well yikes - I dropped the ball here... Apologies...my time to keep up with the user list was out the window for a bit! !*@#&! - Mark On Feb 10, 2011, at 5:45 PM, thorsten wrote: > > Hi Mark, hi all, > > I just got a customer request to conduct an analysis on the state of > SolrCloud. > >

Re: Solr Cloud shard shutdown problem

2011-06-11 Thread Jamie Johnson
Thanks Mark. I think that assumption is reasonable. I'll consider making a JIRA about this, I just need to think more about my use case. i think it should be reasonable to supress this error in some cases, i.e. adhoc networks with intermitent communications. In that case some results are better

Re: disable replication in a persistent way

2011-06-11 Thread Mark Miller
Yeah - as I just said in another email, I think this is fairly low hanging fruit - only reason I have not gotten after it (besides infinite time) is that SolrCloud indexing side will likely move away from replication. This is still a nice feature to have IMO though. - Mark On Feb 24, 2011, at

Re: SolrJ and Range Faceting

2011-06-11 Thread Jamie Johnson
Awesome Martjin, let me know when you have it comitted and I'll check out the latest version. Again thanks! On Sat, Jun 11, 2011 at 8:15 AM, Martijn v Groningen < martijn.is.h...@gmail.com> wrote: > Hi James, > > Good idea! I'll add a getAsFilterQuery method to the patch. > > Martijn > > On 6 Ju

Re: SolrCloud questions

2011-06-11 Thread Mark Miller
On Jun 10, 2011, at 12:26 AM, Upayavira wrote: > I'm exploring SolrCloud for a new project, and have some questions based > upon what I've found so far. > > The setup I'm planning is going to have a number of multicore hosts, > with cores being moved between hosts, and potentially with cores mer

Re: SolrCloud questions

2011-06-11 Thread Mark Miller
All of Solr is still under development ;) If you do a bit of searching, you might find slides/video of a talk about how http://www.loggly.com/ has been using SolrCloud in production for some time now. They have been pretty happy with it based on what they have said. Still need to tackle the in

Re: Solr Cloud shard shutdown problem

2011-06-11 Thread Mark Miller
On Jun 11, 2011, at 4:35 AM, Jamie Johnson wrote: > no servers hosting shard I believe this is simply so that you know that part of the index is missing - you would only get partial results if this query went through. One replica must be up for each 'slice' of the index. Been a while since I

Re: SolrJ and Range Faceting

2011-06-11 Thread Martijn v Groningen
Hi James, Good idea! I'll add a getAsFilterQuery method to the patch. Martijn On 6 June 2011 19:32, Jamie Johnson wrote: > Small error, shouldn't be using this.start but should instead be using > Double.parseDouble(this.getValue()); > and > sdf.parse(count.getValue()); > respectfully. > > On M

Re: Document has fields with different update frequencies: how best to model

2011-06-11 Thread lee carroll
Hi Jay I thought external file field could not be returned as a field but only used in scoring. trunk has pseudo field which can take a function value but we cant move to trunk. also its a more general question around schema design, what happens if you have several fields with different update fre

Re: Getting all field names in a Solr index via SolrJ

2011-06-11 Thread Public Network Services
Sure, I just attempted to use the term as a shorthand. :-) The schema browser that the web admin interface uses, however, makes Ajax calls to the LukeRequestHandler. Has anyone implemented this in pure Java? On Sat, Jun 11, 2011 at 4:43 AM, Chris Hostetter wrote: > > : Yes. So the consensus is