Querying for ~2000 integers - better model?

2013-02-05 Thread Luis Lebolo
Hello! First time poster so {insert ignorance disclaimer here ;)}. I'm building a web application backed by an Oracle database and we're using Lucene Solr to index various lists of entities (via DIH). We then harness Solr's faceting to allow the user to filter through their searches. One aspect

Re: Querying for ~2000 integers - better model?

2013-02-05 Thread Luis Lebolo
...@griddynamics.com wrote: Hello Luis, Your problem seems fairly obvious (hard to solve problem). Where these set of orange id come from? Does an user enter thousand of these ids into web-form? On Tue, Feb 5, 2013 at 8:49 PM, Luis Lebolo luis.leb...@gmail.com wrote: Hello! First time

Query on all dynamic fields or wildcard field query

2013-03-27 Thread Luis Lebolo
Hi All, First I have to apologize and admit that I'm asking this question before doing any real research =( Was hoping for some preliminary help before I start this endeavor tomorrow. So here goes: Can I query for a value in multiple (wildcarded) fields? For example, if I have dynamic fields

SolrException parsing error

2013-04-15 Thread Luis Lebolo
Hi All, I'm using Solr 4.1 and am receiving an org.apache.solr.common.SolrException parsing error with root cause java.io.EOFException (see below for stack trace). The query I'm performing is long/complex and I wonder if its size is causing the issue? I am querying via POST through SolrJ. The

Re: Query Parser OR AND and NOT

2013-04-15 Thread Luis Lebolo
What if you try city:(*:* -H*) OR zip:30* Sometimes Solr requires a list of documents to subtract from (think of *:* -someQuery converts to all documents without someQuery). You can also try looking at your query with debugQuery = true. -Luis On Mon, Apr 15, 2013 at 12:25 PM, Peter Schütt

Re: SolrException parsing error [Solved]

2013-04-15 Thread Luis Lebolo
Sorry, spoke to soon. Turns out I was not sending the query via POST. Changing the method to POST solved the issue. Apologies for the spam! -Luis On Mon, Apr 15, 2013 at 11:47 AM, Luis Lebolo luis.leb...@gmail.com wrote: Hi All, I'm using Solr 4.1 and am receiving

Re: SolrException parsing error

2013-04-16 Thread Luis Lebolo
, Luis Lebolo wrote: Hi All, I'm using Solr 4.1 and am receiving an org.apache.solr.common.** SolrException parsing error with root cause java.io.EOFException (see below for stack trace). The query I'm performing is long/complex and I wonder if its size is causing the issue? I am querying

SolrJ Custom RowMapper

2013-04-25 Thread Luis Lebolo
Hi All, Does SolrJ have an option for a custom RowMapper or BeanPropertyRowMapper (I'm using Spring/JDBC terms). I know the QueryResponse has a getBeans method, but I would like to create my own mapping and plug it in. Any pointers? Thanks, Luis

SolrDocument getFieldNames() exclude dynamic fields?

2013-04-26 Thread Luis Lebolo
Hi All, I'm using SolrJ's QueryResponse to retrieve all SolrDocuments from a query. When I use SolrDocument's getFieldNames(), I get back a list of fields that excludes dynamic fields (even though I know they are not empty). Is there a way to get a list of all fields for a given SolrDocument?

Re: SolrDocument getFieldNames() exclude dynamic fields?

2013-04-26 Thread Luis Lebolo
Apologies, I wasn't storing these dynamic fields. On Fri, Apr 26, 2013 at 11:01 AM, Luis Lebolo luis.leb...@gmail.com wrote: Hi All, I'm using SolrJ's QueryResponse to retrieve all SolrDocuments from a query. When I use SolrDocument's getFieldNames(), I get back a list of fields

Re: SOLR online reference document - WIKI

2013-06-27 Thread Luis Lebolo
This page never came up on any of my Google searches, so thanks for the heads up! Looks good. -Luis On Tue, Jun 25, 2013 at 12:32 PM, Learner bbar...@gmail.com wrote: I just came across a wonderful online reference wiki for SOLR and thought of sharing it with the community..

Re: CachedSqlEntityProcessor not adding fields

2013-07-30 Thread Luis Lebolo
, 2013 at 11:04 AM, Luis Lebolo luis.leb...@gmail.com wrote: Hi All, I'm trying to use CachedSqlEntityProcessor in one of my sub-entities, but the field never gets populated. I'm using Solr 4.4. The field is a multi-valued field: The relevant part of my data-config.xml looks like

Re: Facet field query on subset of documents

2013-11-21 Thread Luis Lebolo
tabulated for documents that satisfy they query, including all of the filter queries and anh other criteria. Otherwise, facet counts would be the same no matter what the query was. Or I'm completely misunderstanding your question... Best, Erick On Thu, Nov 21, 2013 at 4:22 PM, Luis Lebolo

Facet field query on subset of documents

2013-11-21 Thread Luis Lebolo
Hi All, Is it possible to perform a facet field query on a subset of documents (the subset being defined via a filter query for instance)? I understand that facet pivoting might work, but it would require that the subset be defined by some field hierarchy, e.g. manufacturer - price (then only

Cancel Solr query?

2014-01-13 Thread Luis Lebolo
Hi All, Is it possible to cancel a Solr query/request currently in progress? Suppose the user starts searching for something (that takes a long time for Solr to process), then decides the modify the query. I can simply ignore the previous request and create a new request, but Solr is still

Problem querying large StrField?

2014-02-05 Thread Luis Lebolo
Hi All, It seems that I can't query on a StrField with a large value (say 70k characters). I have a Solr document with a string type: fieldType name=string class=solr.StrField sortMissingLast=true/ and field: dynamicField name=someFieldName_* type=string indexed=true stored=true / Note

Re: Problem querying large StrField?

2014-02-05 Thread Luis Lebolo
Update: It seems I get the bad behavior (no documents returned) when the length of a value in the StrField is greater than or equal to 32,767 (2^15). Is this some type of bit overflow somewhere? On Wed, Feb 5, 2014 at 12:32 PM, Luis Lebolo luis.leb...@gmail.com wrote: Hi All, It seems that I

Re: Problem querying large StrField?

2014-02-09 Thread Luis Lebolo
? Thanks! On Wed, Feb 5, 2014 at 1:42 PM, Yonik Seeley yo...@heliosearch.com wrote: On Wed, Feb 5, 2014 at 1:04 PM, Luis Lebolo luis.leb...@gmail.com wrote: Update: It seems I get the bad behavior (no documents returned) when the length of a value in the StrField is greater than or equal to 32,767

Re: More Robust Search Timeouts (to Kill Zombie Queries)?

2014-03-31 Thread Luis Lebolo
Hi Salman, I was interested in something similar, take a look at the following thread: http://mail-archives.apache.org/mod_mbox/lucene-solr-user/201401.mbox/%3CCADSoL-i04aYrsOo2%3DGcaFqsQ3mViF%2Bhn24ArDtT%3D7kpALtVHzA%40mail.gmail.com%3E#archives I never followed through, however. -Luis On

Re: More Robust Search Timeouts (to Kill Zombie Queries)?

2014-04-01 Thread Luis Lebolo
, 2014 at 3:13 AM, Salman Akram salman.ak...@northbaysolutions.net wrote: So you too never got any response... On Mon, Mar 31, 2014 at 6:57 PM, Luis Lebolo luis.leb...@gmail.com wrote: Hi Salman, I was interested in something similar, take a look at the following thread: http://mail