My query parameters are this:
text:abstract&hl=true&hl.fl=text&f.text.hl.snippets=2&f.text.hl.fragsize=200&debugQuery=true
I still get the entire string as the result in the
tag.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Not-able-to-use-the-highlighting-feature-Want-
I'd be curious about this, too!
I suspect the answer is: not doable, patches welcome. :)
But I'd love to be wrong!
Otis
Performance Monitoring for Solr / ElasticSearch / HBase -
http://sematext.com/spm
>
> From: Yuval Dotan
>To: solr-user
>Sent: Wednes
On 21 May 2012 06:05, Mansour Al Akeel wrote:
> Sorry,
> forgot to include the url and the error message:
> private static String url = "http://localhost:8080/solr/update";;
As the error message indicates, the normal request handler
is expecting XML. For indexing JSON, please see:
http://wiki.
I just updated my code. There no error , and getting back 200, but when I
perform a search in solr/admin, I get no results.
Here's my code:
@Override
public void index(ProductData product) {
HttpClient httpclient = new DefaultHttpClient();
HttpPost post = new HttpPost(url);
See some examples here:
http://wiki.apache.org/solr/UpdateJSON
I think in your case you just need the JSON array squares brackets around
the doument or list of documents.
And also "update/json" in the URL.
-- Jack Krupansky
-Original Message-
From: Mansour Al Akeel
Sent: Sunday, Ma
Read up on highlighting here:
http://wiki.apache.org/solr/HighlightingParameters
And then look at solrconfig.xml for how it is used there.
-- Jack Krupansky
-Original Message-
From: 12rad
Sent: Sunday, May 20, 2012 8:56 PM
To: solr-user@lucene.apache.org
Subject: Not able to use the h
Also,
the response just returns
That is the name of the document.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Not-able-to-use-the-highlighting-feature-Want-to-return-snippets-of-text-Urgent-tp3985012p3985013.html
Sent from the Solr - User mailing list archive at
I indexed a structured pdf document in Solr. The problem is when I search
for a simple string - I get the entire content field as the response! I
don't know how to change that.
My requirement is that, lets say I search for "metadata" it should give me
"*Metadata*Discussion . . . 4 matches ... ma
Sorry,
forgot to include the url and the error message:
private static String url = "http://localhost:8080/solr/update";;
The error I am getting on the server is:
SEVERE: org.apache.solr.common.SolrException: Unexpected character '{'
(code 123) in prolog; expected '<'
at [row,col {unknown-sou
But more terms count as a higher score, so A Cole will score higher
than just Cole. This is a 'recall v.s. precision' problem.
On Wed, May 16, 2012 at 5:56 PM, Jack Krupansky wrote:
> Ah, sorry. I meant to add that you should have a stop filter in the query
> analyzer, but not in the index analyz
www.lucidimagination.com/search and www.search-lucene.com are search
indexes for all things Lucene & Solr. You can hunt for this kind of
problem there.
On Sun, May 20, 2012 at 4:16 PM, Lance Norskog wrote:
> Please file this as a JIRA. Also, is it possible to test this on the Solr
> trunk?
>
> O
Please file this as a JIRA. Also, is it possible to test this on the Solr trunk?
On Thu, May 17, 2012 at 8:10 AM, Rahul Warawdekar
wrote:
> Hi,
>
> I am using Solr 3.4 on Tomcat 6 and using DIH to index data from a MS SQL
> Server 2008 database.
>
> In case my database is down, or is refusing con
First: read the Solr wiki.
Second: if it's not there, search www.lucidimagination.com/search or
www.search-lucene.com for solr and tomcat and eclipse.
Third: if you can't find it, start a new message thread.
On Sat, May 19, 2012 at 8:27 PM, ketan kore wrote:
> i want to configure the solr on tomc
Thanks,
Xue-Feng
From: Koji Sekiguchi
To: solr-user@lucene.apache.org
Sent: Sunday, May 20, 2012 10:33:53 AM
Subject: Re: Newbie with Carrot2?
(12/05/20 23:21), Xue-Feng Yang wrote:
> Hi Staszek,
>
> I haven't found a way for inputting data into solr in th
Le 20/05/2012 11:43, Stanislaw Osinski a écrit :
Hi Bruno,
Here's the wiki documentation for Solr's clustering component:
http://wiki.apache.org/solr/ClusteringComponent
For configuration examples, take a look at the Configuration section:
http://wiki.apache.org/solr/ClusteringComponent#Config
After a bit of digging: the error message in the exception is a bit
misleading, but what really happens is that the code cannot load
the org.apache.solr.handler.clustering.carrot2.LuceneCarrot2TokenizerFactory
class. The class is being loaded by Carrot2 code (
https://github.com/carrot2/carrot2/blo
Interesting... let me investigate.
S.
On Sun, May 20, 2012 at 5:15 PM, Koji Sekiguchi wrote:
> Hi Staszek,
>
> Thank you for the fix so quickly!
>
> As a trial, I set:
>
> org.apache.**
> solr.handler.clustering.**carrot2.**LuceneCarrot2TokenizerFactory<**/str>
>
> then I could start Solr witho
Hi Staszek,
Thank you for the fix so quickly!
As a trial, I set:
name="PreprocessingPipeline.tokenizerFactory">org.apache.solr.handler.clustering.carrot2.LuceneCarrot2TokenizerFactory
then I could start Solr without error. But when I make a request:
http://localhost:8983/solr/clustering?q=*%
> so your advice is to upgrade to 3.6?
Or, as a workaround, you can lowercase wildcard queries on the client side.
(12/05/20 23:21), Xue-Feng Yang wrote:
Hi Staszek,
I haven't found a way for inputting data into solr in the wiki. Does that mean
docs can be inputted in a normal solr way after configuration? for example, DIH
or solrj.
Thanks,
Xue-Feng
Right, because Carrot2 clustering is for search time.
Hi Staszek,
I haven't found a way for inputting data into solr in the wiki. Does that mean
docs can be inputted in a normal solr way after configuration? for example, DIH
or solrj.
Thanks,
Xue-Feng
From: Stanislaw Osinski
To: solr-user@lucene.apache.org
S
It is possible to do spellcheck on multiple fields in Apache's solr index.
In order to configure Solr spellcheck to use words from several fields you
should:
Declare a new field. Dont forget t specify the properties:
type="textSpell" and multiValued="true". For example:
.
Use copyField to ge
Hi Koji,
It's fixed in trunk and 3.6.1 branch now. If you hit any other issues with
this, let me know.
Staszek
On Sun, May 20, 2012 at 1:02 PM, Koji Sekiguchi wrote:
> Hi Staszek,
>
> I'll wait your fix. Thank you!
>
> Koji Sekiguchi from iPad2
>
> On 2012/05/20, at 18:18, Stanislaw Osinski w
Hi Staszek,
I'll wait your fix. Thank you!
Koji Sekiguchi from iPad2
On 2012/05/20, at 18:18, Stanislaw Osinski wrote:
> Hi Koji,
>
> You're right, the current code overwrites the custom tokenizer though it
> shouldn't. LuceneCarrot2TokenizerFactory is there to avoid circular
> dependencies (
Hi Ahmet,
> Please see http://wiki.apache.org/solr/MultitermQueryAnalysis
so your advice is to upgrade to 3.6?
Thank you
> The text may contain "FooBar".
>
> When I do a wildcard search like this: "Foo*" - no hits.
> When I do a wildcard search like this: "foo*" - doc is
> found.
Please see http://wiki.apache.org/solr/MultitermQueryAnalysis
Hi Bruno,
Here's the wiki documentation for Solr's clustering component:
http://wiki.apache.org/solr/ClusteringComponent
For configuration examples, take a look at the Configuration section:
http://wiki.apache.org/solr/ClusteringComponent#Configuration.
If you hit any problems, let me know.
St
Dear all,
I use Solr 3.6.0 and I indexed some documents (around 12000).
Each documents contains a Abstract-en field (and some other fields).
Is it possible to use Carrot2 to create cluster (classes) with the
Abstract-en field?
What must I configure in the schema.xml ? or in other files?
Sorr
Hi,
I have a tokenized text field with german content:
The text may contain "FooBar".
When I do a wildcard search like this: "Foo*" - no hits.
When I
Hi Koji,
You're right, the current code overwrites the custom tokenizer though it
shouldn't. LuceneCarrot2TokenizerFactory is there to avoid circular
dependencies (Carrot2 default tokenizer depends on Lucene), but it
shouldn't be an issue with custom tokenizers.
I'll try to commit a fix later tod
Hello,
As I'd like to use custom ITokenizerFactory, I set the following Carrot2 key
in solrconfig.xml:
default
:
my.own.TokenizerFactory
But seems that CarrotClusteringEngine overwrites it with
LuceneCarrot2TokenizerFactory
in init() method:
BasicPrepro
31 matches
Mail list logo