best query for one-box search string over multiple types & fields?

2012-01-14 Thread Johnny Marnell
hi all, short of it: i want "queen bohemian rhapsody" to return that song named "Bohemian Rhapsody" by the artist named "Queen", rather than songs with titles like "Bohemian Rhapsody (Queen Cover)". i'm indexing a catalog of music with these types of docs and their fields: artist (artistName), a

Re: Synonym configuration not working?

2012-01-14 Thread Michael Lissner
Just replying for others in the future. The answer to this is to do synonyms at index time, not at query time. Mike On Fri 06 Jan 2012 02:35:23 PM PST, Michael Lissner wrote: I'm trying to set up some basic synonyms. The one I've been working on is: us, usa, united states My understanding i

Re: GermanAnalyzer

2012-01-14 Thread Robert Muir
On Sat, Jan 14, 2012 at 5:09 PM, Lance Norskog wrote: > Has the GermanAnalyzer behavior changed at all? This is another kind > of mismatch, and it can cause very subtle problems.  If text is > indexed and queried using different Analyzers, queries will not do > what you think they should. It acts

Re: GermanAnalyzer

2012-01-14 Thread Lance Norskog
Has the GermanAnalyzer behavior changed at all? This is another kind of mismatch, and it can cause very subtle problems. If text is indexed and queried using different Analyzers, queries will not do what you think they should. On Sat, Jan 14, 2012 at 1:38 PM, Robert Muir wrote: > On Sat, Jan 14,

Re: GermanAnalyzer

2012-01-14 Thread Robert Muir
On Sat, Jan 14, 2012 at 12:58 PM, wrote: > Hi, > > I'm switching from Lucene 2.3 to Solr 3.5. I want to reuse the existing > indexes (huge...). If you want to use a Lucene 2.3 index, then you should set this in your solrconfig.xml: LUCENE_23 > > In Lucene I use an untweaked org.apache.lucene.a

Re: FacetComponent: suppress original query

2012-01-14 Thread Dmitry Kan
OK, let me clarify it: if solrconfig has maxBooleanClauses set to 1000 for example, than queries with clauses more than 1000 in number will be rejected with the mentioned exception. What I want to do is automatically split such queries into sub-queries with at most 1000 clauses inside SOLR and sen

Re: Faceting Question

2012-01-14 Thread Jamie Johnson
I'm not sure that will give me what I want, most likely because I was clear what I'm looking for. I would like to take this information and populate a chart so you could see how many documents were created over time of a particular type. So basically I need the range queries so I can populate the

Re: Faceting Question

2012-01-14 Thread Yonik Seeley
On Sat, Jan 14, 2012 at 1:12 PM, Lee Carroll wrote: > if "type" is a field use field faceting with an fq > > q=datefield:[start TO end]&fq=type:(a  b c)&facet.field=type Yep, that will work too. -Yonik http://www.lucidimagination.com

Re: Faceting Question

2012-01-14 Thread Yonik Seeley
On Sat, Jan 14, 2012 at 12:56 PM, Jamie Johnson wrote: > I'm trying to figure out a way to execute a query which would allow me > to say there were x documents over this period of time with type a, y > documents over the same period of time with type b and z documents > over the same period of tim

Re: Faceting Question

2012-01-14 Thread Lee Carroll
if "type" is a field use field faceting with an fq q=datefield:[start TO end]&fq=type:(a b c)&facet.field=type On 14 January 2012 17:56, Jamie Johnson wrote: > I'm trying to figure out a way to execute a query which would allow me > to say there were x documents over this period of time with

GermanAnalyzer

2012-01-14 Thread spring
Hi, I'm switching from Lucene 2.3 to Solr 3.5. I want to reuse the existing indexes (huge...). In Lucene I use an untweaked org.apache.lucene.analysis.de.GermanAnalyzer. What is an equivalent fieldType definition in Solr 3.5? Thank you

Faceting Question

2012-01-14 Thread Jamie Johnson
I'm trying to figure out a way to execute a query which would allow me to say there were x documents over this period of time with type a, y documents over the same period of time with type b and z documents over the same period of time with type c. I was thinking of doing this using range facetin

Re: linking query in DIH fails with sql syntax error when specific fields contain bad data

2012-01-14 Thread Mikhail Khludnev
One more idea. If your data fits into heap you can join data by DIH. see Example 2 in http://wiki.apache.org/solr/DataImportHandler#CachedSqlEntityProcessor but be aware that where="xid=x.id" were broken in trunk around r1201784. see https://issues.apache.org/jira/browse/SOLR-2933 but it works in

Re: server stop responding in few hours due to CLOSE_WAIT

2012-01-14 Thread Mikhail Khludnev
Jonty, That blog post explain what the problem is, but solution described there works for jdk's http clientonly. AFAIK you use Commons Http client, please refer to its' manuals or post your question to related forum.

Re: server stop responding in few hours due to CLOSE_WAIT

2012-01-14 Thread Jonty Rhods
Hi, I set the parameter as describe in the blog link but still same problem I am facing. In test class when I run it, It run perfectly few minutes but after certain thread it start responding slow and at same time the CLOSE_WAIT start increasing. I also notice that when I terminate test class all

Re: Can Apache Solr Handle TeraByte Large Data

2012-01-14 Thread Otis Gospodnetic
Hello,   Inline - Original Message - > From: mustafozbek > > I am an apache solr user about a year. I used solr for simple search tools > but now I want to use solr with 5TB of data. I assume that 5TB data will be > 7TB when solr index it according to filter that I use. And then I will a