Suggester spellcheck component and infix

2011-03-25 Thread Kai Schlamp-2
Does the suggester component of Solr also support infix search? (like
.*ompute.*)

Kai

--
View this message in context: 
http://lucene.472066.n3.nabble.com/Suggester-spellcheck-component-and-infix-tp2729996p2729996.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Problem with field collapsing of patched Solr 1.4

2011-03-24 Thread Kai Schlamp-2

Afroz Ahmad wrote:
 
 Have you enabled the collapse component in solconfig.xml?
 
 lt;searchComponent name=quot;queryquot;
 class=quot;org.apache.solr.handler.component.CollapseComponentquot;
 /gt;
 

No, it seems that I missed that completely. Thank you, Afroz. It works fine
now.

Kai


--
View this message in context: 
http://lucene.472066.n3.nabble.com/Problem-with-field-collapsing-of-patched-Solr-1-4-tp2678850p2724321.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Different options for autocomplete/autosuggestion

2011-03-18 Thread Kai Schlamp-2
One autosuggestion solution would be to query normal text fields. That way
you have the whole feature set of Solr (like NGram filtered text for infix
search or field queries to scope the search). If you also store the data of
the text field you directly have the results to use as autosuggestions.
Unfortunately in some applications (like ours) different documents often
contain the same data for the same field.
So this approach may return many duplications as search hits for exactly
this field. If one could collapse the results by that field all duplications
would be gone and you only distinct hits remain (what one would expect from
autosuggestions). At least this is how I understood field collapsing.

Kai

--
View this message in context: 
http://lucene.472066.n3.nabble.com/Different-options-for-autocomplete-autosuggestion-tp2678899p2701055.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Problem with field collapsing of patched Solr 1.4

2011-03-18 Thread Kai Schlamp-2
Unfortunately I have to use Solr 1.4.x or 3.x as one of the interfaces to
access Solr uses Sunspot (a Ruby Solr library), which doesn't seem to be
compatible with 4.x.

Kai


Otis Gospodnetic-2 wrote:
 
 Kai, try SOLR-1086 with Solr trunk instead if trunk is OK for you.
 
 Otis
 
 Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
 Lucene ecosystem search :: http://search-lucene.com/
 
 
 
 - Original Message 
 From: Kai Schlamp lt;kai.schl...@googlemail.comgt;
 To: solr-user@lucene.apache.org
 Sent: Sun, March 13, 2011 11:58:56 PM
 Subject: Problem with field collapsing of patched Solr 1.4
 
 Hello.
 
 I just tried to patch Solr 1.4 with the field collapsing patch  of
 https://issues.apache.org/jira/browse/SOLR-236. The patching and  build
 process seemed to be ok (below are the steps I did), but the  field
 collapsing feature doesn't seem to work.
 When I go to `http://localhost:8982/solr/select/?q=*:*` I correctly
 get 10 documents  as result.
 When going to 
`http://localhost:8982/solr/select/?q=*:*collapse=truecollapse.field=tag_name_sscollapse.max=1`

 (tag_name_ss  is surely a field with content) I get the same 10 docs as
 result back. No  further information regarding the field collapsing.
 What do I miss? Do I have  to activate it somehow?
 
 * Downloaded 
[Solr](http://apache.lauf-forum.at//lucene/solr/1.4.1/apache-solr-1.4.1.tgz)
 *  Downloaded 
[SOLR-236-1_4_1-paging-totals-working.patch](https://issues.apache.org/jira/secure/attachment/12459716/SOLR-236-1_4_1-paging-totals-working.patch)

 *  Changed line 2837 of that patch to `@@ -0,0 +1,511 @@` (regarding
 this  
[comment](https://issues.apache.org/jira/browse/SOLR-236?focusedCommentId=12932905page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-12932905))

 *  Downloaded 
[SOLR-236-1_4_1-NPEfix.patch](https://issues.apache.org/jira/secure/attachment/12470202/SOLR-236-1_4_1-NPEfix.patch)

 *  Extracted the Solr archive
 * Applied both patches:
 ** `cd  apache-solr-1.4.1`
 ** `patch -p0   ../SOLR-236-1_4_1-paging-totals-working.patch`
 ** `patch -p0   ../SOLR-236-1_4_1-NPEfix.patch`
 * Build Solr
 ** `ant clean`
 ** `ant  example` ... tells me BUILD SUCCESSFUL
 * Reindexed everything (using  Sunspot Solr)
 * Solr info tells me correctly Solr Specification  Version:
 1.4.1.2011.03.14.04.29.20
 
 Kai

 


--
View this message in context: 
http://lucene.472066.n3.nabble.com/Problem-with-field-collapsing-of-patched-Solr-1-4-tp2678850p2701061.html
Sent from the Solr - User mailing list archive at Nabble.com.