Re: r1201855 broke stats.facet on long fields

2011-12-09 Thread Luis Neves
quot;false" TrieLongField with precisionsStep="0") I will try to set up a reproducible test case. Thanks! -- Luis Neves.

r1201855 broke stats.facet on long fields

2011-12-08 Thread Luis Neves
e changed code I see this: if (facetFieldType.isTokenized() || facetFieldType.isMultiValued()) { throw new SolrException(SolrException.ErrorCode.BAD_REQUEST, "Stats can only facet on single-valued fields, not: " + facetField + "[" + facetFieldType + "]"); } this seem to also "fix" SOLR-1782. -- Luis Neves

Re: Distributed search has problems with some field names

2011-09-29 Thread Luis Neves
t just use them? Yes, that's what I ended up doing, but it involved a reindex. I was trying to avoid that. Thanks! -- Luis Neves

Distributed search has problems with some field names

2011-09-28 Thread Luis Neves
Using "fl=*" returns all the data from the fields that start with "$" but it severely increases the size of the response. -- Luis Neves

FunctionQuery does not work as advertised

2009-02-28 Thread Luis Neves
ult? Am I missing something? Is there any way to include a computed value in the search results and sort by it? Thanks in advance. -- /** * Luis Neves * @e-mail: luis.ne...@co.sapo.pt * @xmpp: lfs_ne...@sapo.pt * @web: <http://technotes.blogs.sapo.pt/> * @tlm: +351 962 057 656 */

Re: OOM when autowarming is enabled

2007-07-25 Thread Luis Neves
Yonik Seeley wrote: On 7/25/07, Luis Neves <[EMAIL PROTECTED]> wrote: This turn out to be a bad idea ... for some reason using the BoostQuery instead of the BoostFunction slows the search to a crawl. Dismax throws bq in with the main query, so it can't really be cached sep

Re: OOM when autowarming is enabled

2007-07-25 Thread Luis Neves
Luis Neves wrote: The objective is to boost the documents by "freshness" ... this is probably the cause of the memory abuse since all the "EntryDate" values are unique. I will try to use something like: EntryDate:[* TO NOW/DAY-3MONTH]^1.5 This turn out to be a bad idea

Re: OOM when autowarming is enabled

2007-07-25 Thread Luis Neves
Yonik Seeley wrote: On 7/25/07, Luis Neves <[EMAIL PROTECTED]> wrote: We are having some issues with one of our Solr instances when autowarming is enabled. The index has about 2.2M documents and 2GB of size, so it's not particularly big. Solr runs with "-Xmx1024M -Xms10

OOM when autowarming is enabled

2007-07-25 Thread Luis Neves
the first search after a commit return in a reasonable time? Thanks! -- Luis Neves StackTrace: Error during auto-warming of key:[EMAIL PROTECTED]:java.lang.OutOfMemoryError: GC overhead limit exceeded at org.apache.lucene.index.TermBuffer.toTerm(TermBuffer.java:104) at org.

Re: Increment field value

2007-02-01 Thread Luis Neves
open with the vendor, but they are not what we could call agile. -- Luis Neves Luis Neves wrote: Hello all, We have a Solr/Lucene index for newspaper articles, those articles have associated comments. When searching for articles we want to present the number of comments per article. What we

Increment field value

2007-02-01 Thread Luis Neves
rieve the number of comments increment it and update the index because the "actual" value might be uncommitted... is there any other alternative to this problem? Thanks in advance for any help. -- Luis Neves

Document "freshness" and Boost Functions

2007-01-17 Thread Luis Neves
right?), but I can't figure out the syntax. -- Luis Neves

Re: XML querying

2007-01-17 Thread Luis Neves
Hi, Thorsten Scherler wrote: On Mon, 2007-01-15 at 13:42 +, Luis Neves wrote: I think you should explain your use case a wee bit more. What I do now to index XML documents it's to use a Filter to strip the markup, this works but it's impossible to know where in the docum

Re: XML querying

2007-01-15 Thread Luis Neves
Hi! Thorsten Scherler wrote: On Mon, 2007-01-15 at 12:23 +, Luis Neves wrote: Hello. What I do now to index XML documents it's to use a Filter to strip the markup, this works but it's impossible to know where in the document is the match located. What would it take to make p

XML querying

2007-01-15 Thread Luis Neves
like: fq=xmlField:/book/content/text() This way only the "/book/content/" element was searched. Did I make sense? Is this possible? -- Luis Neves

Re: result grouping?

2007-01-05 Thread Luis Neves
#x27;m beginning to think that this a little to complex for a first project with Lucene. In my particular case all I want is to group results by category (from a predetermined - and small - category list), I think I will just make a request by category and accept the latency. -- Luis Neves

Re: is search possible while indexing?

2007-01-05 Thread Luis Neves
Rafeek Raja wrote: I am beginner to solr and lucene. Is search possible while indexing? Yes... that is just one of the cool features of Solr/Lucene. <http://incubator.apache.org/solr/features.html> -- Luis Neves

Re: result grouping?

2007-01-04 Thread Luis Neves
search platform and they call this feature "Field collapsing": <http://www.fastsearch.com/glossary.aspx?m=48&amid=299> I like the syntax they use: "&collapseon=&collapsenum=N" -> Collapse, but keep N number of collapsed documents For some reason they can only collapse on numeric fields (int32). Regards, Luis Neves

Re: Varying the score acording to search word

2006-10-26 Thread Luis Neves
Mental note: think before post ... this is a simple job for a Servlet filter. sorry for the noise. -- Luis Neves Luis Neves wrote: Hello all. We have a product catalog that is searchable via Solr, by default we want to exclude results from the "Adult" category unless the sea

Varying the score acording to search word

2006-10-26 Thread Luis Neves
ticular case. Can anyone point me in the right direction? Thanks! Luis Neves

Re: help with dismax query handler syntax

2006-09-25 Thread Luis Neves
Nevermind, I got it ... Somehow I missed the javadoc. -- Luis Neves Luis Neves wrote: Hello all, Using the standard query handler I can search for a term excluding a category and sort descending by price, e.g.: http://localhost/solr/select/?q=book+-Category:Adults;Price+desc&sta

help with dismax query handler syntax

2006-09-25 Thread Luis Neves
max query handler, can anyone point me in the right direction. Thanks! -- Luis Neves