Hi,
I figured out a better way of doing it. The following query would be a
better option:
q=*:*&start=2147483647&rows=0&collapse=true&collapse.field=abc&collapse.threshold=1
Thanks,
Samarth
On Thu, Dec 23, 2010 at 8:57 PM, samarth s wrote:
> Hi,
>
> I have been using collapsing in my applicatio
Hi all,
I have created a new index (using Solr trunk version from 17th December,
running on Windows 7 & Tomcat 6, 64 bit JVM) with around 1.1 billion of
documents (index size around 550GB, mergeFactor=20).
After the (csv) import I have commited the data and got this error:
HTTP Status 500 - Seve
Hi Erick,
Every result comes in xml format. But when you get any errors
like http 500 or http 400 like wise we will get in html format. My query is
cant we make that html file into json or vice versa..
Regards,
satya
Aha! Thanks, sorry, I'll clarify on my wiki edit.
From: Chris Hostetter [hossman_luc...@fucit.org]
Sent: Friday, December 24, 2010 12:11 AM
To: solr-user@lucene.apache.org
Subject: RE: Solr 1.4.1 stats component count not matching facet count for
multi val
: Interesting, the wiki page on StatsComponent says "multi-valued fields
: may be slow" , and may use lots of memory.
: http://wiki.apache.org/solr/StatsComponent
*stats* over multivalued fields work, but use lots of memory -- that bug
only hits you when you compute stats over any field, that
Interesting, the wiki page on StatsComponent says "multi-valued fields may be
slow" , and may use lots of memory. http://wiki.apache.org/solr/StatsComponent
Apparently it should also warn that multi-valued fields may not work at all?
I'm going to add that with a link to the JIRA ticket.
___
Try boosting 94305 as guitar center 94305^10
On Fri, Dec 24, 2010 at 9:23 AM, Erick Erickson [via Lucene] <
ml-node+2139685-1248268645-146...@n3.nabble.com
> wrote:
> What does your query look like? Especially what is the output
> when you append &debugQuery=on? You can examine the
> scoring at t
What does your query look like? Especially what is the output
when you append &debugQuery=on? You can examine the
scoring at the end of the response to gain more insight.
Best
Erick
On Thu, Dec 23, 2010 at 8:34 PM, Ruixiang Zhang wrote:
> When I search "guitar center 94305", it gives the result
When I search "guitar center 94305", it gives the results:
guitar center guitar center Hollywood
guitar center 94305
guitar center 94305 location
But I want results to be like this:
guitar center 94305
guitar center 94305 location
guitar center guitar center Hollywood
How can I make the results
The DIH lets you code in Javascript- you can do anything.
On 12/23/10, Erick Erickson wrote:
> SolrJ is often used when DIH doesn't do what you wish. Using SolrJ is
> really quite easy, but you're doing the DB queries yourself, often with
> the appropriate jdbc driver.
>
> Within DIH, the transfo
: I have a facet field called option which may be multi-valued and
: a weight field which is single-valued.
:
: When I use the Solr 1.4.1 stats component with a facet field, i.e.
...
: I get conflicting results for the stats count result
a jira search for "solr stats multivalued" would ha
Is it possible that the spellcheck query can be configured to stop tokenizing
on period marks through a parameter, rather than through the analyzer?
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solr-Spellcheker-automatically-tokenizes-on-period-marks-tp2131844p2138753.html
@iorixxx: removing that line did solve the problem, thanks!
--
View this message in context:
http://lucene.472066.n3.nabble.com/full-text-search-in-multiple-fields-tp1888328p2138629.html
Sent from the Solr - User mailing list archive at Nabble.com.
Hi ramzesua,
Synonym lists will often be application specific and will of course be
language specific. Given this I don't think you can talk about a generic
solr synonym list, just won't be very helpful in lots of cases.
What are you hoping to achieve with your synonyms for your app?
On 23 Dec
Hi,
I'm implementing a search that has peculiar scoring rules that, as I can
see, isn't supported natively.
The rules are like:
- Given a set of tokens, the final score would be the sum of scores
of all token by each token can only be scored for its best match over a set
of fields
My first guess: You've got some sort of stemming going on at index time so
tuinkamer is getting indexed as tuinkam or something. To find out, look
at you admin page, the "schema browser".
Another interesting page is admin/analysis, which can show you what happens
at each step of the indexing proce
> But for another location, which value in DB is: "de
> tuinkamer"
>
> When I query the id of that location:
> &q=id:431&fl=id,title
> the location is found, so it IS indexed...
>
>
> But this query DOESNT work:
>
> &q=title_search:tuinkamer*&defType=lucene&fl=id,title
>
> And this one DOES:
>
Sorry to bother you again, but it still doesnt seem to work all the time...
This (what you solved earlier) works:
&q=title_search:Pappegay&defType=lucene&fl=id,title
But for another location, which value in DB is: "de tuinkamer"
When I query the id of that location:
&q=id:431&fl=id,title
the l
Doesn't indexing analyzing do this to some degree anyway?
Not sure the alogrithm, but something like: How often, hom much near the top,
how many differnt forms, subject or object of a sentence. That has to have some
relevance to what category something is in.
The simplest extension to that woul
Merging the indexes seems problematical. It's easy enough to
#code#, but I'm not sure it would produce results you want. And it
supposes that your schemas are identical (or at least compatible)
between the crawled data and your local data, which I wonder about...
Instead, I'd think about cores. Co
These
HTTP Status 500 - null java.lang.NullPointerException at
java.io.StringReader.(StringReader.java:50) at
are returned in HTML. I use Nginx to detect the HTTP error code and return a
JSON encoded body with the appropriate content type. Maybe it could be done in
the servlet container but i
On Wed, Dec 22, 2010 at 3:53 PM, Hasnain wrote:
[...]
> In my schema, i have another field by the name of "Category" and, for
> example's sake, let's assume that my application supports only two
> categories: computers and accessories. Now, what i require is a mechanism to
> assign correct categor
Hmmm, have you looked at dismax? If I'm reading your message correctly, it
sounds
like this may already be there. Of course I've missed the point of messages
before.
Best
Erick
On Thu, Dec 23, 2010 at 10:29 AM, Nelson Branco wrote:
> Hi,
>
>
>
> I’m implementing a search that has peculiar scorin
What you're asking for appears to me to be "auto-categorization", and
there's nothing built into Solr to do this. Somehow you need to analyze
the documents at index time and add the proper categories, but I have
no clue how. This is especially hard with short fields since most
auto-categorization a
What html format? Solr responds in XML, not HTML. Any HTML
has to be created somewhere in the chain. Your browser
may not be set up to render XML, so you could be seeing problems
because of that.
If hit is off-base, could you explain your issue in a bit more detail?
Best
Erick
On Thu, Dec 23, 20
SolrJ is often used when DIH doesn't do what you wish. Using SolrJ is
really quite easy, but you're doing the DB queries yourself, often with
the appropriate jdbc driver.
Within DIH, the transformers, as Chris says, *might* work for you.
Best
Erick
On Wed, Dec 22, 2010 at 6:16 PM, Andy wrote:
Hi,
In order to crawl and index your web sites, may you can have a look at
www.crawl-anywhere.com. It includes a web crawler, a document processing
pipeline and a solr indexer.
Dominique
Le 23/12/10 16:27, Dietrich a écrit :
I want to use Solr to index two types of documents:
- local docume
Correct! Thanks again, it now works! :)
--
View this message in context:
http://lucene.472066.n3.nabble.com/full-text-search-in-multiple-fields-tp1888328p2137284.html
Sent from the Solr - User mailing list archive at Nabble.com.
Hi,
I'm implementing a search that has peculiar scoring rules that, as I can
see, isn't supported natively.
The rules are like:
- Given a set of tokens, the final score would be the sum of scores
of all token by each token can only be scored for its best match over a set
of fields
I want to use Solr to index two types of documents:
- local documents in Drupal (ca. 10M)
- a large number of web sites to be crawled thru Nutch (ca 100M)
Our data center does not have the necessary bandwith to crawl all the
external sites and we want to use a hosting provider to do the
crawling f
Hi,
I have been using collapsing in my application. I have a requirement of
finding the no of groups matching some filter criteria.
Something like a COUNT(DISTINCT columnName). The only solution I can
currently think of is using the query:
q=*:*&rows=Integer.MAX_VALUE&start=0&fl=score&collapse.fi
Hi,
I have a facet field called option which may be multi-valued and
a weight field which is single-valued.
When I use the Solr 1.4.1 stats component with a facet field, i.e.
q=*:*&version=2.2&stats=true&
stats.field=weight&stats.facet=option
I get conflicting results for the stats count result
Having played with it, I can see that it would be extremely useful to be
able to disable replication in the solrconfig.xml, and then enable it
with a URL.
So, as to your patch, I'd say yes, submit it. But do try to make it
backwards compatible. It'll make it much more likely to get accepted.
Upay
Hi all,
I am using solr in my web application for search purposes. However, i
am having a problem with the default behaviour of the solr search.
>From my understanding, if i query for a keyword, let's say "Laptop",
preference is given to result rows having more occurences of the search
Hi,
Were running a cloud based cluster of servers and its not that easy to
get a list of the current slaves. Since my problem is only around the
restart/redeployment of the master it seems an unnecessary
complication to have to start interacting with slaves as part of the
scripts that do this.
As
Hi All,
I am able to get the response in the success case in json format by
stating wt=json in the query. But as in case if any errors i am geting in
html format.
1) Is there any specified reason to get in html format??
2)cant we get the error result in json format??
Regards,
satya
Just to share with solr community that the problem has been resolved in
a simple way: move the solr/data/index out of the /opt/dev/config
The root cause is permission. It seems Geronimo doesn't allow write
permission to /opt/dev/config and its sub-folders
Cheers,
Bac Hoang
On 12/22/2010 6:
Yup, it is working, thanks so much.
On Thu, Dec 23, 2010 at 4:55 PM, Ahmet Arslan wrote:
> There are several typos,
>
> multiValued="true" => multivalue
> sourceColName => sourceColcolumn
>
> By the way, after you correct those and restart tomcat, you can debug on
> /admin/dataimport.jsp
>
>
>
There are several typos,
multiValued="true" => multivalue
sourceColName => sourceColcolumn
By the way, after you correct those and restart tomcat, you can debug on
/admin/dataimport.jsp
--- On Thu, 12/23/10, lun zhong wrote:
> From: lun zhong
> Subject: help: DIH and Multivalue does not wo
Hi, Solr gurus:
I am totally new to solr and hope somebody can help me on this.
I have multivalue field "channel" in my schema:
and the DIH config:
the DIH full-import is Ok with other fields, but channel has nothing (solr
query: q=*:*).
If i remove
or make my db ret
40 matches
Mail list logo