index a repository of documents(.doc) without using post.jar

2014-05-23 Thread benjelloun
Hello,

I need to index a repository of documents(.doc) without using post.jar, i'm
using Solr with Tomcat6.
maybe its with http REST api, but how to use it?
Thanks for your answer,

Best regards,
Anass BENJELLOUN



--
View this message in context: 
http://lucene.472066.n3.nabble.com/index-a-repository-of-documents-doc-without-using-post-jar-tp4137798.html
Sent from the Solr - User mailing list archive at Nabble.com.


index a repository of documents(.doc) without using post.jar

2014-05-23 Thread benjelloun
Hello,

I need to index a repository of documents(.doc) without using post.jar, i'm
using Solr with Tomcat6.
maybe its with http REST api, but how to use it?
Thanks for your answer,

Best regards,
Anass BENJELLOUN



--
View this message in context: 
http://lucene.472066.n3.nabble.com/index-a-repository-of-documents-doc-without-using-post-jar-tp4137797.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: index a repository of documents(.doc) without using post.jar

2014-05-23 Thread benjelloun
Hello,

There is no inconvenience, i just need to index some files from the system
using JEE and tomcat6, maybe there is a fonction which call HTTP REST.
Maybe there is a solution to integrate post.jar to tomcat6.
Please if you know any solution to my probleme, suggest it to me.
Thanks,

Best regards,
Anass BENJELLOUN



--
View this message in context: 
http://lucene.472066.n3.nabble.com/index-a-repository-of-documents-doc-without-using-post-jar-tp4137797p4137848.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: index a repository of documents(.doc) without using post.jar

2014-05-23 Thread benjelloun
Hello,

I looked to source code of post.jar, that was very interesting.
I looked for manifoldcf apache, that was interesting too.
But i what i want to do is indexing some files using http rest, this is my
request which dont work, maybe this way is the easiest for implementation:

put: localhost:8080/solr/update?commit=true

  
khalid
bouchna9 
23/05/2014 
  


I'm using dev http client for test.
Thanks,
Anass BENJELLOUN




--
View this message in context: 
http://lucene.472066.n3.nabble.com/index-a-repository-of-documents-doc-without-using-post-jar-tp4137797p4137881.html
Sent from the Solr - User mailing list archive at Nabble.com.


add new Fields with SolrJ without changing schema.xml

2014-06-18 Thread benjelloun
Hello,

I need to add new Fields with SolrJ without changing schema.xml.
this is my code java :

HttpSolrServer server = new HttpSolrServer("http://localhost:8080/solr";);
SolrInputDocument doc = new SolrInputDocument();
 doc.addField("id", id);
 doc.addField("Titre", nomdocument);

the id and Titre are already on schema.xml, but what i need to do id to add
new fields like  firstname,last name, age...

thanks for help,
Best regards,
Anass BENJELLOUN



--
View this message in context: 
http://lucene.472066.n3.nabble.com/add-new-Fields-with-SolrJ-without-changing-schema-xml-tp4142515.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: add new Fields with SolrJ without changing schema.xml

2014-06-18 Thread benjelloun
Hello,

i'm using this configuration on solrconfig.xml:


 true
 managed-schema
   

Can you please give me an exemple on SolrJ for adding a new field.
thanks,
best regards,
Anass BENJELLOUN



--
View this message in context: 
http://lucene.472066.n3.nabble.com/add-new-Fields-with-SolrJ-without-changing-schema-xml-tp4142515p4142533.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: add new Fields with SolrJ without changing schema.xml

2014-06-18 Thread benjelloun
Hello,

this is what i want to do:

public static void addNewField(Boolean uniqueId,String type, Boolean
indexed,Boolean stored,Boolean   multivalued,Boolean
sortmissinglast,Boolean required){ 

.
.
}

any exemple please,
thanks,
Best regards,
Anass BENJELLOUN




--
View this message in context: 
http://lucene.472066.n3.nabble.com/add-new-Fields-with-SolrJ-without-changing-schema-xml-tp4142515p4142555.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: add new Fields with SolrJ without changing schema.xml

2014-06-19 Thread benjelloun
Hello,

Because i will not stay working with the actual entreprise.
then no one know how to change it manually if they need to add new fields
in the futur.
so i need to do this with java code, can you please help me with an exemple
to complete this:

>public static void addNewField(Boolean uniqueId,String type, Boolean
> indexed,Boolean stored,Boolean   multivalued,Boolean
> sortmissinglast,Boolean required){
>
> .
> .
>}

thanks,
Best regards,
Anass BENJELLOUN



2014-06-18 18:21 GMT+02:00 Walter Underwood [via Lucene] <
ml-node+s472066n4142571...@n3.nabble.com>:

> Why can't you change schema.xml?  --wunder
>
> On Jun 18, 2014, at 8:56 AM, benjelloun <[hidden email]
> <http://user/SendEmail.jtp?type=node&node=4142571&i=0>> wrote:
>
> > Hello,
> >
> > this is what i want to do:
> >
> > public static void addNewField(Boolean uniqueId,String type, Boolean
> > indexed,Boolean stored,Boolean   multivalued,Boolean
> > sortmissinglast,Boolean required){
> >
> > .
> > .....
> >}
> >
> > any exemple please,
> > thanks,
> > Best regards,
> > Anass BENJELLOUN
> >
> >
> >
> >
>
>
>
> --
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://lucene.472066.n3.nabble.com/add-new-Fields-with-SolrJ-without-changing-schema-xml-tp4142515p4142571.html
>  To unsubscribe from add new Fields with SolrJ without changing
> schema.xml, click here
> <http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4142515&code=YW5hc3MuYm5qQGdtYWlsLmNvbXw0MTQyNTE1fC0xMDQyNjMzMDgx>
> .
> NAML
> <http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: 
http://lucene.472066.n3.nabble.com/add-new-Fields-with-SolrJ-without-changing-schema-xml-tp4142515p4142769.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: add new Fields with SolrJ without changing schema.xml

2014-06-19 Thread benjelloun
Hello,

I will use DynamicField for some fields but some other fields need to be
created.
this is an exemple:

*Informations*

*unique ID field*

*Type*

*indexed*

*stored*

*multivalued*

*sortmissinglast*

*required*

*Iddocument*

True

long

false

True

False

True

True

so how to add this field? by default the "id" is indexed and its type is
"string"
any idea how i can do that without changing manually the shema.xml?


thanks,
 Best regards,
 Anass BENJELLOUN




2014-06-19 9:28 GMT+02:00 Alexandre Rafalovitch [via Lucene] <
ml-node+s472066n4142771...@n3.nabble.com>:

> Use dynamic fields definitions perhaps? Just suffix the fields with
> "_s", "_i", etc. As per schema.xml.
>
> You could also use new schemaless mode, but then when they send a
> value that auto-creates a field of wrong type, it would be really hard
> to troubleshoot.
>
> Regards,
>Alex.
> Personal website: http://www.outerthoughts.com/
> Current project: http://www.solr-start.com/ - Accelerating your Solr
> proficiency
>
>
> On Thu, Jun 19, 2014 at 2:07 PM, benjelloun <[hidden email]
> <http://user/SendEmail.jtp?type=node&node=4142771&i=0>> wrote:
>
> > Hello,
> >
> > Because i will not stay working with the actual entreprise.
> > then no one know how to change it manually if they need to add new
> fields
> > in the futur.
> > so i need to do this with java code, can you please help me with an
> exemple
> > to complete this:
> >
> >>public static void addNewField(Boolean uniqueId,String type, Boolean
> >> indexed,Boolean stored,Boolean   multivalued,Boolean
> >> sortmissinglast,Boolean required){
> >>
> >> .
> >> .
> >>}
> >
> > thanks,
> > Best regards,
> > Anass BENJELLOUN
> >
> >
> >
> > 2014-06-18 18:21 GMT+02:00 Walter Underwood [via Lucene] <
> > [hidden email] <http://user/SendEmail.jtp?type=node&node=4142771&i=1>>:
> >
> >> Why can't you change schema.xml?  --wunder
> >>
> >> On Jun 18, 2014, at 8:56 AM, benjelloun <[hidden email]
> >> <http://user/SendEmail.jtp?type=node&node=4142571&i=0>> wrote:
> >>
> >> > Hello,
> >> >
> >> > this is what i want to do:
> >> >
> >> > public static void addNewField(Boolean uniqueId,String type, Boolean
> >> > indexed,Boolean stored,Boolean   multivalued,Boolean
> >> > sortmissinglast,Boolean required){
> >> >
> >> > .
> >> > .
> >> >}
> >> >
> >> > any exemple please,
> >> > thanks,
> >> > Best regards,
> >> > Anass BENJELLOUN
> >> >
> >> >
> >> >
> >> >
> >>
> >>
> >>
> >> --
> >>  If you reply to this email, your message will be added to the
> discussion
> >> below:
> >>
> >>
> http://lucene.472066.n3.nabble.com/add-new-Fields-with-SolrJ-without-changing-schema-xml-tp4142515p4142571.html
> >>  To unsubscribe from add new Fields with SolrJ without changing
> >> schema.xml, click here
> >> <
>
> >> .
> >> NAML
> >> <
> http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
> >>
> >
> >
> >
> >
> > --
> > View this message in context:
> http://lucene.472066.n3.nabble.com/add-new-Fields-with-SolrJ-without-changing-schema-xml-tp4142515p4142769.html
>
> > Sent from the Solr - User mailing list archive at Nabble.com.
>
>
> --
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://lucene.472066.n3.nabble.com/add-new-Fields-with-SolrJ-without-changing-schema-xml-tp4142515p4142771.html
>  To unsubscribe from add new Fields with SolrJ without changing
> schema.xml, click here
> <http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4142515&code=YW5hc3MuYm5qQGdtYWlsLmNvbXw0MTQyNTE1fC0xMDQyNjMzMDgx>
> .
> NAML
> <http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: 
http://lucene.472066.n3.nabble.com/add-new-Fields-with-SolrJ-without-changing-schema-xml-tp4142515p4142777.html
Sent from the Solr - User mailing list archive at Nabble.com.

Solr Fields Multilingue

2014-06-26 Thread benjelloun
Hello,

I have 5000 French, Arabic, English documents. my shema.xml contain
300fields for French Documents.
exemple:



so what i need to do is detect language of the document before indexing then
i dont want to creat 300x3 fields, and i dont want to creat a new core. i
need to have the same fields with all language. then i can hold analyzer of
text for each language.

any exemple are welcome thanks.
best regards
Anass BENJELLOUN



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-Fields-Multilingue-tp4144223.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Solr Fields Multilingue

2014-06-27 Thread benjelloun
Hello,

this is my configuration in SolrConfig.xml:


   
 NomDocument,ContenuDocument,Postit
 language_s
 fr
 en,fr,ar
 
true
true
NomDocument
true
   
   
   
 

then what should i do in schema.xml ?

is this right :



thanks,
Best regards,
Anass BENJELLOUN




--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-Fields-Multilingue-tp4144223p4144372.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Solr Fields Multilingue

2014-06-30 Thread benjelloun
Hello again,

I have a document which have 3 different language text(arabic, english,
frensh).
i have just this result:

"language_s": [
  "en"
]

thanks for help,
Best regards,
Anass BENJELLOUN



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-Fields-Multilingue-tp4144223p4144708.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Solr Fields Multilingue

2014-06-30 Thread benjelloun
Hello,

Ok thanks,
i have another question :)

here is my schema:









is this correct? because when i index documents then search on this field
"AllChamp" that don't do analyzer and filter. any idea?

Exemple: 

I search for : AllChamp:presenton  --> num result=0
   AllChamp:présenton  --> num result=1

thanks for help,
best regards,
Anass BENJELLOUN





--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-Fields-Multilingue-tp4144223p4144781.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Solr Fields Multilingue

2014-06-30 Thread benjelloun
hey,

Thats true i know it was that but any idea of how can i resolve that ?

best regards 
Anass BENJELLOUN



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-Fields-Multilingue-tp4144223p4144790.html
Sent from the Solr - User mailing list archive at Nabble.com.


CopyField can't copy analyzers and Filters

2014-06-30 Thread benjelloun
here is my schema: 












 when i index documents then search on this field "AllChamp" that don't do
analyzer and filter.
I know that CopyField can't copy analyzers and Filters, so how to keep
analyzer and filter on Field: "AllChamp"?

Exemple: 

I search for : AllChamp:presenton  --> num result=0 
   AllChamp:présenton  --> num result=1 

thanks for help, 
best regards, 
Anass BENJELLOUN 



--
View this message in context: 
http://lucene.472066.n3.nabble.com/CopyField-can-t-copy-analyzers-and-Filters-tp4144803.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Solr Fields Multilingue

2014-06-30 Thread benjelloun
Hello,

its ok i did it :)

thanks


2014-06-30 17:48 GMT+02:00 Erick Erickson [via Lucene] <
ml-node+s472066n4144798...@n3.nabble.com>:

> Again, please open a new thread for new questions.
> Do _not_ just reply-to then change the subject, it
> stays in the same thread anyway.
>
> Best,
> Erick
>
> On Mon, Jun 30, 2014 at 7:57 AM, benjelloun <[hidden email]
> <http://user/SendEmail.jtp?type=node&node=4144798&i=0>> wrote:
>
> > Hello,
> >
> > Ok thanks,
> > i have another question :)
> >
> > here is my schema:
> >
> >  indexed="true"
> > required="false" stored="false"/>
> >  > required="false" multiValued="true"/>
> >  > required="false" multiValued="true"/> > type="text_ar" indexed="true" stored="true" required="false"
> > multiValued="true"/>
> >
> > 
> > 
> > 
> >
> > is this correct? because when i index documents then search on this
> field
> > "AllChamp" that don't do analyzer and filter. any idea?
> >
> > Exemple:
> >
> > I search for : AllChamp:presenton  --> num result=0
> >AllChamp:présenton  --> num result=1
> >
> > thanks for help,
> > best regards,
> > Anass BENJELLOUN
> >
> >
> >
> >
> >
> > --
> > View this message in context:
> http://lucene.472066.n3.nabble.com/Solr-Fields-Multilingue-tp4144223p4144781.html
>
> > Sent from the Solr - User mailing list archive at Nabble.com.
>
>
> --
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://lucene.472066.n3.nabble.com/Solr-Fields-Multilingue-tp4144223p4144798.html
>  To unsubscribe from Solr Fields Multilingue, click here
> <http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4144223&code=YW5hc3MuYm5qQGdtYWlsLmNvbXw0MTQ0MjIzfC0xMDQyNjMzMDgx>
> .
> NAML
> <http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-Fields-Multilingue-tp4144223p4144805.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: CopyField can't copy analyzers and Filters

2014-07-01 Thread benjelloun
Hello,

here is my configuration which don't work:

shema:








config:


 
   explicit

   
   velocity
   browse
   layout
   Solritas

   
   edismax
   
  *_ar^2 *_fr^3 *_en^2.2
   
   AllChamp
   100%
   *:*
   10
   *,score

   
 text^0.5 features^1.0 name^1.2 sku^1.5 id^10.0 manu^1.1 cat^1.4
 title^10.0 description^5.0 keywords^5.0 author^2.0 resourcename^1.0
   
   text,features,name,sku,id,manu,cat,title,description,keywords,author,resourcename
   3

   
   on
   cat
   manu_exact
   content_type
   author_s
   ipod
   GB
   1
   cat,inStock
   after
   price
   0
   600
   50
   popularity
   0
   10
   3
   manufacturedate_dt
   NOW/YEAR-10YEARS
   NOW
   +1YEAR
   before
   after

   
   on
   content features title name
   html
   <b>
   </b>
   0
   title
   0
   name
   3
   200
   content
   750

   
   on
   false
   5
   2
   5
   true
   true
   5
   3
 

 
 
   spellcheck
 
  






2014-07-01 2:24 GMT+02:00 Steve McKay-4 [via Lucene] <
ml-node+s472066n4144897...@n3.nabble.com>:

> Three fields: AllChamp_ar, AllChamp_fr, AllChamp_en. Then query them with
> dismax.
>
> On Jun 30, 2014, at 11:53 AM, benjelloun <[hidden email]
> <http://user/SendEmail.jtp?type=node&node=4144897&i=0>> wrote:
>
> > here is my schema:
> >
> >  indexed="true"
> > required="false" stored="false"/>
> >  > required="false" multiValued="true"/>
> >
> >  > required="false" multiValued="true"/>
> >
> >  > required="false" multiValued="true"/>
> >
> > 
> > 
> > 
> >
> > when i index documents then search on this field "AllChamp" that don't
> do
> > analyzer and filter.
> > I know that CopyField can't copy analyzers and Filters, so how to keep
> > analyzer and filter on Field: "AllChamp"?
> >
> > Exemple:
> >
> > I search for : AllChamp:presenton  --> num result=0
> >   AllChamp:présenton  --> num result=1
> >
> > thanks for help,
> > best regards,
> > Anass BENJELLOUN
> >
> >
> >
> > --
> > View this message in context:
> http://lucene.472066.n3.nabble.com/CopyField-can-t-copy-analyzers-and-Filters-tp4144803.html
> > Sent from the Solr - User mailing list archive at Nabble.com.
>
>
>
> --
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://lucene.472066.n3.nabble.com/CopyField-can-t-copy-analyzers-and-Filters-tp4144803p4144897.html
>  To unsubscribe from CopyField can't copy analyzers and Filters, click
> here
> <http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4144803&code=YW5hc3MuYm5qQGdtYWlsLmNvbXw0MTQ0ODAzfC0xMDQyNjMzMDgx>
> .
> NAML
> <http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: 
http://lucene.472066.n3.nabble.com/CopyField-can-t-copy-analyzers-and-Filters-tp4144803p4144937.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: CopyField can't copy analyzers and Filters

2014-07-01 Thread benjelloun
Hello,

i have 300 feilds which are copied on "AllChamp"
if i want to do separated fields then i need to create 300 * Number of
languages i have, which is not logical for me.
is there any other solution?

Best regards
Anass BENJELLOUN


2014-07-01 11:28 GMT+02:00 Alexandre Rafalovitch [via Lucene] <
ml-node+s472066n414493...@n3.nabble.com>:

> I believe, you were already answered.
>
> If you want to have text parsed/analyzed in different ways, you need
> to have them in separate fields with separate analyzer stacks. Then
> use disMax/eDisMax to search across those fields.
>
> copyField copies the original content and therefore when you search
> the target field only one analyzer chain applies.
>
> Regards,
>Alex.
> Personal website: http://www.outerthoughts.com/
> Current project: http://www.solr-start.com/ - Accelerating your Solr
> proficiency
>
>
> On Tue, Jul 1, 2014 at 4:20 PM, benjelloun <[hidden email]
> <http://user/SendEmail.jtp?type=node&node=4144938&i=0>> wrote:
> > Hello,
> >
> > here is my configuration which don't work:
> >
>
>
> --
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://lucene.472066.n3.nabble.com/CopyField-can-t-copy-analyzers-and-Filters-tp4144803p4144938.html
>  To unsubscribe from CopyField can't copy analyzers and Filters, click
> here
> <http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4144803&code=YW5hc3MuYm5qQGdtYWlsLmNvbXw0MTQ0ODAzfC0xMDQyNjMzMDgx>
> .
> NAML
> <http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: 
http://lucene.472066.n3.nabble.com/CopyField-can-t-copy-analyzers-and-Filters-tp4144803p4144943.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: CopyField can't copy analyzers and Filters

2014-07-01 Thread benjelloun
i have documents (ar, en , fr)
i need to index them and keeping analyzer and filter for each languages.
here is all fields on schema to enderstand my probleme:






















 


























 























































































  


  

  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  

  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  




2014-07-01 12:01 GMT+02:00 Alexandre Rafalovitch [via Lucene] <
ml-node+s472066n4144945...@n3.nabble.com>:

> But aren't you already creating those 300 fields anyway:
>  required="false" multiValued="true"/>
>
> If you mean you have issues specifying them in eDisMax, I believe 'qf'
> parameter allows to specify a wildcard.
>
> Alternatively, you can look at the example used in Solr In Action
> book:
> https://github.com/treygrainger/solr-in-action/tree/master/src/main/java/sia/ch14
>  They use a multiplexing approach.
>
> Regards,
>Alex.
> On Tue, Jul 1, 2014 at 4:53 PM, benjelloun <[hidden email]
> <http://user/SendEmail.jtp?type=node&node=4144945&i=0>> wrote:
> > Hello,
> >
> > i have 300 feilds which are copied on "AllChamp"
> > if i want to do separated fields then i need to create 300 * Number of
> > languages i have, which is not logical for me.
> > is there any other solution?
> >
> > Best regards
> > Anass BENJELLOUN
>
>
>
> Personal website: http://www.outerthoughts.com/
> Current project: http://www.solr-start.com/ - Accelerating your Solr
> proficiency
>
>
> --
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://lucene.472066.n3.nabble.com/CopyField-can-t-copy-analyzers-and-Filters-tp4144803p4144945.html
>  To unsubscribe from CopyField can't copy analyzers and Filters, click
> here
> <http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4144803&code=YW5hc3MuYm5qQGdtYWlsLmNvbXw0MTQ0ODAzfC0xMDQyNjMzMDgx>
> .
> NAML
> <http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: 
http://lucene.472066.n3.nabble.com/CopyField-can-t-copy-analyzers-and-Filters-tp4144803p4144946.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: CopyField can't copy analyzers and Filters

2014-07-01 Thread benjelloun
and i use dynamicfields for  NomDocument,ContenuDocument,Postit
exemple: ContenuDocument_fr, ContenuDocument_en,ContenuDocument_ar

 
   
 NomDocument,ContenuDocument,Postit
 language_s
 fr
 en,fr,ar
 true
   


is there any other solution to not separate fileds?

Best regards
Anass BENJELLOUN


2014-07-01 12:05 GMT+02:00 anass benjelloun :

> i have documents (ar, en , fr)
> i need to index them and keeping analyzer and filter for each languages.
> here is all fields on schema to enderstand my probleme:
>
> 
>   indexed="true" required="true" stored="true"/>
>   indexed="true" required="false" stored="true"/>
>  indexed="false" required="false" stored="true"/>
>  required="false" stored="false"/>
>  indexed="true" required="false" stored="false"/>
>  required="true" stored="true"/>
>   indexed="true" required="false" stored="true"/>
>  indexed="true" required="true" stored="true"/>
>  indexed="true" required="true" stored="true"/>
>  indexed="false" required="true" stored="true"/>
>  indexed="true" required="true" stored="true"/>
>  required="true" stored="true"/>
>  indexed="true" required="true" stored="true"/>
>  indexed="true" required="true" stored="true"/>
>  multiValued="false" indexed="false" required="false" stored="true"/>
>  indexed="true" required="true" stored="true"/>
>  indexed="true" required="false" stored="false"/>
>
> 
>  required="false" stored="true"/>
>required="false" stored="true"/>
>   required="false" stored="true"/>
>   required="false" stored="true"/>
>   required="false" stored="true"/>
>   required="false" stored="true"/>
>   required="false" stored="true"/>
>   required="false" stored="true"/>
>   required="false" stored="true"/>
>   required="false" stored="true"/>
>   required="false" stored="true"/>
>   required="false" stored="true"/>
>   required="false" stored="true"/>
>   required="false" stored="true"/>
>   required="false" stored="true"/>
>   required="false" stored="true"/>
>   required="false" stored="true"/>
>   required="false" stored="true"/>
>   required="false" stored="true"/>
>   required="false" stored="true"/>
>   required="false" stored="true"/>
>   required="false" stored="true"/>
>   required="false" stored="true"/>
>   required="false" stored="true"/>
>   required="false" stored="true"/>
>   required="false" stored="true"/>
>   required="false" stored="true"/>
>   required="false" stored="true"/>
>indexed="true" required="false" stored="true"/>
>   indexed="true" required="false" stored="true"/>
>   indexed="true" required="false" stored="true"/>
>   indexed="true" required="false" stored="true"/>
>   indexed="true" required="false" stored="true"/>
>   indexed="true" required="false" stored="true"/>
>   indexed="true" required="false" stored="true"/>
>   indexed="true" required="false" stored="true"/>
>   indexed="true" required="false" stored="true"/>
>   indexed="true" required="false" stored="true"/>
>   indexed="true" required="false" stored="true"/>
>   indexed="true" required="false" stored="true"/>
>   indexed="true" required="false" stored="true"/>
>   indexed="true" requir

Re: CopyField can't copy analyzers and Filters

2014-07-01 Thread benjelloun
hello erick,

unfortunately i can't modify the schema , me and my team analyzed carefully
the problem,
so all fields you seeing are required on schema.

now i just tested to do different fields maybe it could work if i knew
syntaxe of edismax:













and on config this is SearchHandler but i dont find any result:


 
   explicit

   
   velocity
   browse
   layout
   Solritas

   
   edismax
   
   AllChamp^2.0 AllChamp_ar^2.0 AllChamp_en^2.0 AllChamp_fr^5.0
   
   AllChamp_fr
   100%
   *:*
   10
   *,score

   
 AllChamp^2.0 AllChamp_ar^2.0 AllChamp_en^2.0 AllChamp_fr^5.0
   
   AllChamp,AllChamp_fr,AllChamp_ar,AllChamp_en
   3

   
   on
   cat
   manu_exact
   content_type
   author_s
   ipod
   GB
   1
   cat,inStock
   after
   price
   0
   600
   50
   popularity
   0
   10
   3
   manufacturedate_dt
   NOW/YEAR-10YEARS
   NOW
   +1YEAR
   before
   after

   
   on
   content features title name
   html
   
   
   0
   title
   0
   name
   3
   200
   content
   750

   
   on
   false   
   5
   2
   5   
   true
   true  
   5
   3   
 

 
 
   spellcheck
 
  


thanks,
best regards








--
View this message in context: 
http://lucene.472066.n3.nabble.com/CopyField-can-t-copy-analyzers-and-Filters-tp4144803p4145018.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: CopyField can't copy analyzers and Filters

2014-07-01 Thread benjelloun
Hello,


for Cx_val, there is some fields which are multivalued :)
for AllChamp_fr, AllChamp_en..., i juste added them to the schema to test
if edismax work.





2014-07-01 17:13 GMT+02:00 Daniel Collins [via Lucene] <
ml-node+s472066n4145024...@n3.nabble.com>:

> Ok, firstly to say you need to fix your problem but you can't modify the
> schema, doesn't really help.  If the schema is setup badly, then no amount
> of help at search time will ever get you the results you want...
>
> Secondly, from what I can see in the schema, there is no AllChamp_fr,
> AllChamp_en, etc?  There is only AllChamp, which you create by copying
> from
> other places.  And that in itself seems odd to me, you are copying Cx_id
> (which are longs) and Cx_val (which are text) into a single text_general
> field, so lord knows what that's going to index like (really inefficiently
> I would guess), and it won't be very accurate on the number values if you
> ever want to do anything like range queries on those...
>
> Back to Erick's response, take a step back and try to explain what the
> real
> problem is, what fields you index, and what you want to achieve.
>
> We have a similar situation with Languages, we have 3 fields per document
> that are language specific, so we index them into language-specific
> fields.
>  We then copyField them into a text_general (as well) so we have a
> generically stemmed version if we want to do a more general query.  If we
> need to explicitly search accurately for language-specific terms, then we
> need to OR all the language fields.  That has a cost in creating the
> query,
> but it is more efficient.
>
>
>
> On 1 July 2014 16:04, benjelloun <[hidden email]
> <http://user/SendEmail.jtp?type=node&node=4145024&i=0>> wrote:
>
> > hello erick,
> >
> > unfortunately i can't modify the schema , me and my team analyzed
> carefully
> > the problem,
> > so all fields you seeing are required on schema.
> >
> > now i just tested to do different fields maybe it could work if i knew
> > syntaxe of edismax:
> >  indexed="true"
> > required="false" stored="false"/>
> >  indexed="true"
> > required="false" stored="false"/>
> >  indexed="true"
> > required="false" stored="false"/>
> >
> >  > required="false" multiValued="true"/>
> >  > required="false" multiValued="true"/>
> >  > required="false" multiValued="true"/>
> >
> > 
> > 
> > 
> >
> >
> > and on config this is SearchHandler but i dont find any result:
> >
> > 
> >  
> >explicit
> >
> >
> >velocity
> >browse
> >layout
> >Solritas
> >
> >
> >edismax
> >
> >AllChamp^2.0 AllChamp_ar^2.0 AllChamp_en^2.0 AllChamp_fr^5.0
> >
> >AllChamp_fr
> >100%
> >*:*
> >10
> >*,score
> >
> >
> >  AllChamp^2.0 AllChamp_ar^2.0 AllChamp_en^2.0 AllChamp_fr^5.0
> >
> > > name="mlt.fl">AllChamp,AllChamp_fr,AllChamp_ar,AllChamp_en
> >3
> >
> >
> >on
> >cat
> >manu_exact
> >content_type
> >author_s
> >ipod
> >GB
> >1
> >cat,inStock
> >after
> >price
> >0
> >600
> >50
> >popularity
> >0
> >10
> >3
> >manufacturedate_dt
> > > name="f.manufacturedate_dt.facet.range.start">NOW/YEAR-10YEARS
> >NOW
> >+1YEAR
> >before
> >after
> >
> >
> >on
> >content features title name
> >html
> ><b>
> ></b>
> >0
> >title
> >0
> >name
> >3
> >200
> >content
> >750
> >
> >
> >on
> >false
> >5
> >2
> >5
> >true
> >true
> >5
> >3
> >  
> >
> >
> >  
> >spellcheck
> >  
> >   
> >
> >
> > thanks,
> > best regar

Je suis sur LinkedIn et je vous recommande ce site également.

2014-07-03 Thread benjelloun
Bonjour Alexandre,

J'aimerais que vous rejoigniez mon réseau pour partager des nouvelles et rester 
en contact.

anass

Accepter : 
https://www.linkedin.com/e/v2?e=z6nfen-hx5qhjgq-5r&a=preRegInvite&tracking=eml-guest-invite-cta&ek=invite_guest&invitationID=5890360658662281216&sharedKey=eBz8oxMp


Vous recevez des e-mails Invitation. Se désabonner 
https://www.linkedin.com/e/v2?e=z6nfen-hx5qhjgq-5r&t=uns&tracking=eml-guest-invite-unsubscribe&ek=invite_guest&id=20061&mid=-1&aid=iuehc9r3r0sm6r3&eid=z6nfen-hx5qhjgq-5r&email=ml-node%2Bs472066n4144938h3%40n3%2Enabble%2Ecom

Cet e-mail est destiné à Alexandre Lucene]. Découvrez pourquoi nous avons 
inclus ceci en suivant ce lien : 
http://www.linkedin.com/e/v2?e=z6nfen-hx5qhjgq-5r&a=customerServiceUrl&ek=invite_guest&articleId=4788
©2014 LinkedIn Ireland Limited, enregistrée en Irlande en tant que société 
à responsabilité limitée, numéro de société : 477441, siège social : 70 Sir 
John Roberson’s Quay, Dublin 2



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Je-suis-sur-LinkedIn-et-je-vous-recommande-ce-site-egalement-tp4145391.html
Sent from the Solr - User mailing list archive at Nabble.com.

J'aimerais vous inviter à rejoindre mon réseau professionnel sur LinkedIn.

2014-07-03 Thread benjelloun
Bonjour Erick,

J'aimerais que vous rejoigniez mon réseau pour partager des nouvelles et rester 
en contact.

anass

Accepter : 
https://www.linkedin.com/e/v2?e=-u5fqpj-hx5qhjg5-70&a=preRegInvite&tracking=eml-guest-invite-cta&ek=invite_guest&invitationID=5890360658087665665&sharedKey=CJxCbD_4


Vous recevez des e-mails Invitation. Se désabonner 
https://www.linkedin.com/e/v2?e=-u5fqpj-hx5qhjg5-70&t=uns&tracking=eml-guest-invite-unsubscribe&ek=invite_guest&id=20061&mid=-1&aid=iuehc9r3r0sm6r3&eid=-u5fqpj-hx5qhjg5-70&email=ml-node%2Bs472066n4144798h63%40n3%2Enabble%2Ecom

Cet e-mail est destiné à Erick Lucene]. Découvrez pourquoi nous avons inclus 
ceci en suivant ce lien : 
http://www.linkedin.com/e/v2?e=-u5fqpj-hx5qhjg5-70&a=customerServiceUrl&ek=invite_guest&articleId=4788
©2014 LinkedIn Ireland Limited, enregistrée en Irlande en tant que société 
à responsabilité limitée, numéro de société : 477441, siège social : 70 Sir 
John Roberson’s Quay, Dublin 2



--
View this message in context: 
http://lucene.472066.n3.nabble.com/J-aimerais-vous-inviter-a-rejoindre-mon-reseau-professionnel-sur-LinkedIn-tp4145392.html
Sent from the Solr - User mailing list archive at Nabble.com.

I use LinkedIn and you should use it too.

2014-07-03 Thread benjelloun
Bonjour Steve,

J'aimerais que vous rejoigniez mon réseau pour partager des nouvelles et rester 
en contact.

anass

Accepter : 
https://www.linkedin.com/e/v2?e=-k0w1w5-hx5qhjfn-3j&a=preRegInvite&tracking=eml-guest-invite-cta&ek=invite_guest&invitationID=5890360657726947328&sharedKey=v4df5Q_O


Vous recevez des e-mails Invitation. Se désabonner 
https://www.linkedin.com/e/v2?e=-k0w1w5-hx5qhjfn-3j&t=uns&tracking=eml-guest-invite-unsubscribe&ek=invite_guest&id=20061&mid=-1&aid=iuehc9r3r0sm6r3&eid=-k0w1w5-hx5qhjfn-3j&email=ml-node%2Bs472066n4144897h32%40n3%2Enabble%2Ecom

Cet e-mail est destiné à Steve Lucene]. Découvrez pourquoi nous avons inclus 
ceci en suivant ce lien : 
http://www.linkedin.com/e/v2?e=-k0w1w5-hx5qhjfn-3j&a=customerServiceUrl&ek=invite_guest&articleId=4788
©2014 LinkedIn Ireland Limited, enregistrée en Irlande en tant que société 
à responsabilité limitée, numéro de société : 477441, siège social : 70 Sir 
John Roberson’s Quay, Dublin 2



--
View this message in context: 
http://lucene.472066.n3.nabble.com/I-use-LinkedIn-and-you-should-use-it-too-tp4145393.html
Sent from the Solr - User mailing list archive at Nabble.com.

Rejoignez mon réseau sur LinkedIn

2014-07-03 Thread benjelloun
Bonjour Alexandre,

J'aimerais que vous rejoigniez mon réseau pour partager des nouvelles et rester 
en contact.

anass

Accepter : 
https://www.linkedin.com/e/v2?e=1p1dkj-hx5qhjh3-5k&a=preRegInvite&tracking=eml-guest-invite-cta&ek=invite_guest&invitationID=5890360658481917952&sharedKey=iwQz292V


Vous recevez des e-mails Invitation. Se désabonner 
https://www.linkedin.com/e/v2?e=1p1dkj-hx5qhjh3-5k&t=uns&tracking=eml-guest-invite-unsubscribe&ek=invite_guest&id=20061&mid=-1&aid=iuehc9r3r0sm6r3&eid=1p1dkj-hx5qhjh3-5k&email=ml-node%2Bs472066n4142771h26%40n3%2Enabble%2Ecom

Cet e-mail est destiné à Alexandre Lucene]. Découvrez pourquoi nous avons 
inclus ceci en suivant ce lien : 
http://www.linkedin.com/e/v2?e=1p1dkj-hx5qhjh3-5k&a=customerServiceUrl&ek=invite_guest&articleId=4788
©2014 LinkedIn Ireland Limited, enregistrée en Irlande en tant que société 
à responsabilité limitée, numéro de société : 477441, siège social : 70 Sir 
John Roberson’s Quay, Dublin 2



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Rejoignez-mon-reseau-sur-LinkedIn-tp4145396.html
Sent from the Solr - User mailing list archive at Nabble.com.

J'aimerais vous inviter à rejoindre mon réseau professionnel sur LinkedIn.

2014-07-03 Thread benjelloun
Bonjour Walter,

J'aimerais que vous rejoigniez mon réseau pour partager des nouvelles et rester 
en contact.

anass

Accepter : 
https://www.linkedin.com/e/v2?e=f7uf5h-hx5qhjgx-4c&a=preRegInvite&tracking=eml-guest-invite-cta&ek=invite_guest&invitationID=5890360658842640384&sharedKey=ln36HRyT


Vous recevez des e-mails Invitation. Se désabonner 
https://www.linkedin.com/e/v2?e=f7uf5h-hx5qhjgx-4c&t=uns&tracking=eml-guest-invite-unsubscribe&ek=invite_guest&id=20061&mid=-1&aid=iuehc9r3r0sm6r3&eid=f7uf5h-hx5qhjgx-4c&email=ml-node%2Bs472066n4142571h26%40n3%2Enabble%2Ecom

Cet e-mail est destiné à Walter Lucene]. Découvrez pourquoi nous avons inclus 
ceci en suivant ce lien : 
http://www.linkedin.com/e/v2?e=f7uf5h-hx5qhjgx-4c&a=customerServiceUrl&ek=invite_guest&articleId=4788
©2014 LinkedIn Ireland Limited, enregistrée en Irlande en tant que société 
à responsabilité limitée, numéro de société : 477441, siège social : 70 Sir 
John Roberson’s Quay, Dublin 2



--
View this message in context: 
http://lucene.472066.n3.nabble.com/J-aimerais-vous-inviter-a-rejoindre-mon-reseau-professionnel-sur-LinkedIn-tp4145395.html
Sent from the Solr - User mailing list archive at Nabble.com.

J'aimerais vous inviter à rejoindre mon réseau professionnel sur LinkedIn.

2014-07-03 Thread benjelloun
Bonjour Alexandre,

J'aimerais que vous rejoigniez mon réseau pour partager des nouvelles et rester 
en contact.

anass

Accepter : 
https://www.linkedin.com/e/v2?e=ylp2ee-hx5qhjfy-2p&a=preRegInvite&tracking=eml-guest-invite-cta&ek=invite_guest&invitationID=5890360657898921984&sharedKey=aNAb4H5v


Vous recevez des e-mails Invitation. Se désabonner 
https://www.linkedin.com/e/v2?e=ylp2ee-hx5qhjfy-2p&t=uns&tracking=eml-guest-invite-unsubscribe&ek=invite_guest&id=20061&mid=-1&aid=iuehc9r3r0sm6r3&eid=ylp2ee-hx5qhjfy-2p&email=ml-node%2Bs472066n4144945h20%40n3%2Enabble%2Ecom

Cet e-mail est destiné à Alexandre Lucene]. Découvrez pourquoi nous avons 
inclus ceci en suivant ce lien : 
http://www.linkedin.com/e/v2?e=ylp2ee-hx5qhjfy-2p&a=customerServiceUrl&ek=invite_guest&articleId=4788
©2014 LinkedIn Ireland Limited, enregistrée en Irlande en tant que société 
à responsabilité limitée, numéro de société : 477441, siège social : 70 Sir 
John Roberson’s Quay, Dublin 2



--
View this message in context: 
http://lucene.472066.n3.nabble.com/J-aimerais-vous-inviter-a-rejoindre-mon-reseau-professionnel-sur-LinkedIn-tp4145394.html
Sent from the Solr - User mailing list archive at Nabble.com.

Consultez mon profil LinkedIn

2014-07-03 Thread benjelloun
LinkedIn




Daniel,

J'aimerais vous inviter à rejoindre mon réseau professionnel en ligne, sur le 
site LinkedIn.

anass

anass benjelloun
Stagiaire chez Document numérique
Région de Dijon , France

Veuillez confirmer que vous connaissez anass benjelloun :
https://www.linkedin.com/e/-l61cng-hx5qhjgk-2/isd/5890360658288992256/HG7TfUEt/?hs=false&tok=0SbXD60wNK9Ck1

--
Vous recevez des invitations à vous connecter par e-mail. Cliquez ici si vous 
ne souhaitez plus recevoir ces e-mails :
http://www.linkedin.com/e/-l61cng-hx5qhjgk-2/Iw6YzGTHyIJmwbStfZsE-WuXJdYzrn_2IadeFR2Xp6Mux2b7faCMsI6Ivq8/goo/ml-node%2Bs472066n4145024h69%40n3%2Enabble%2Ecom/20061/I7384409320_1/?hs=false&tok=0ewNciRmRK9Ck1

(c) 2012 LinkedIn Corporation. 2029 Stierlin Ct, Mountain View, CA 94043, USA.


  




--
View this message in context: 
http://lucene.472066.n3.nabble.com/Consultez-mon-profil-LinkedIn-tp4145390.html
Sent from the Solr - User mailing list archive at Nabble.com.

multilingual search

2014-07-04 Thread benjelloun
Hello,

what i need to do is to detect language of my fields then when i search with
"/select  RequestHandler"
how can i define for a search to detect the language of words to choose
which field_langid use.

my conf:


   
   
 true
 NomDocument,ContenuDocument,Postit,
 
 language_s
 en,fr,ar
 fr
 0.6
 true
 true 
 true

   















 
   explicit
   10
   edismax
   
   AllChamp^2.0 AllChamp_ar^2.0 AllChamp_en^2.0 AllChamp_fr^5.0
   
 


exemple for search in Solr Admin:  "nous présentons" it is frensh language.
and "nous" is a stopwords_fr.
but when i search for "nous présontons" i find nous becaus i have some
english docs which contain "nous".

this is just one exemple for on language. i dont want to add stopwords_fr in
stopwords_en.
what i want is to detect the language before the select search then choose
the field_langid for search.

Best regards,
Anass BENJELLOUN








--
View this message in context: 
http://lucene.472066.n3.nabble.com/multilingual-search-tp4145639.html
Sent from the Solr - User mailing list archive at Nabble.com.


Solr 4.7.2 auto suggestion

2014-07-17 Thread benjelloun
Hello,

i'm trying to do auto suggestion but thats not working.
here is my configuration:

schema:



 
 











   


















SolrConfig:



   explicit
   10
   
   edismax
   
   AllChamp^2.0 AllChamp_ar^2.0 AllChamp_en^2.0 AllChamp_fr^5.0
   
   true
   AND
mySuggester
on
mySuggester
DocumentDictionaryFactory
FuzzyLookupFactory
spell
suggestion
textSpell

  
  true
  true
  6


  suggest  
  





  mySuggester
  FuzzyLookupFactory 
  DocumentDictionaryFactory 
  spell
  IdDocument
  suggestion
  text_general

  

Thanks best regards :)






--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-4-7-2-auto-suggestion-tp4147677.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Solr 4.7.2 auto suggestion

2014-07-18 Thread benjelloun
Hello,

In Solr Admin i put on /selects:

q="indexa",
it should auto suggest "indexation" and other suggestion if existe.

i have this response:
{ "responseHeader": { "status": 0, "QTime": 169, "params": { "indent":
"true", "q": "indexa", "_": "1405671103093", "wt": "json" } }, "command":
"build", "response": { "numFound": 0, "start": 0, "docs": [] }, "suggest": {
"mySuggester": { "indexa": { "numFound": 0, "suggestions": [] } } } }

I checked my doctionary file --> empty i don't know why.
is my configuration correct for Solr 4.7.2?






2014-07-18 2:37 GMT+02:00 Alexandre Rafalovitch [via Lucene] <
ml-node+s472066n4147798...@n3.nabble.com>:

> On Thu, Jul 17, 2014 at 11:01 PM, benjelloun <[hidden email]
> <http://user/SendEmail.jtp?type=node&node=4147798&i=0>> wrote:
> > i'm trying to do auto suggestion but thats not working.
>
> Not working specifically how? What do you put in, what did you get
> back, what did you expect?
>
> Regards,
>Alex.
>
> Personal: http://www.outerthoughts.com/ and @arafalov
> Solr resources: http://www.solr-start.com/ and @solrstart
> Solr popularizers community: https://www.linkedin.com/groups?gid=6713853
>
>
> --
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://lucene.472066.n3.nabble.com/Solr-4-7-2-auto-suggestion-tp4147677p4147798.html
>  To unsubscribe from Solr 4.7.2 auto suggestion, click here
> <http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4147677&code=YW5hc3MuYm5qQGdtYWlsLmNvbXw0MTQ3Njc3fC0xMDQyNjMzMDgx>
> .
> NAML
> <http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-4-7-2-auto-suggestion-tp4147677p4147854.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: questions on Solr WordBreakSolrSpellChecker and WordDelimiterFilterFactory

2014-07-18 Thread benjelloun
hello,

for WordDelimiterFilterFactory:

this is an exemple in schema.xml to folow:










   













and for WordBreakSolrSpellChecker  folow this in solrconfig.xml:



textSpell

  wordbreak
  solr.WordBreakSolrSpellChecker  
  spell
  true
  true
  10





   explicit
   10
your field
str name="qt">spellchecker
   rebuild
wordbreak
on
  true   
  10
  5
  5   
  
  true
  true
  5 
  true
true
  true

  spellcheck 
  
 

regards,
Anass BENJELLOUN





--
View this message in context: 
http://lucene.472066.n3.nabble.com/questions-on-Solr-WordBreakSolrSpellChecker-and-WordDelimiterFilterFactory-tp4147390p4147859.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: solr boosting any perticular URL

2014-07-18 Thread benjelloun
hello,

before index the URL to a field in Solr, you can use java api(Solrj) and do
a test 
if(URL=="")
index on  field1
else
index on field2


then use edismax to boost a specific field:


   explicit
   10
edismax
   
   field1^5.0 field2^1.0
   





--
View this message in context: 
http://lucene.472066.n3.nabble.com/solr-boosting-any-perticular-URL-tp4147657p4147864.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Solr 4.7.2 auto suggestion

2014-07-18 Thread benjelloun
the dictionary file named : "fwfsta.bin" contain NULL.
thats mean the configuration is not correct.
maybe i need to add or change somthing on 

thanks for help



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-4-7-2-auto-suggestion-tp4147677p4147878.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Solr 4.7.2 auto suggestion

2014-07-23 Thread benjelloun
Hello,
 the suggester "solr.SuggestComponent"
with 
FuzzyLookupFactory  
DocumentDictionaryFactory

Dont work with type of fields which are not string and  multivalued.

any idea ?




--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-4-7-2-auto-suggestion-tp4147677p4148768.html
Sent from the Solr - User mailing list archive at Nabble.com.


Auto Suggest

2014-07-24 Thread benjelloun
Hello,

Did solr.SuggestComponent work on MultiValued Field to Auto suggest not only
one word but the whole sentence?



Regards,
Anass BENJELLOUN



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Auto-Suggest-tp4149004.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Auto Suggest

2014-07-28 Thread benjelloun
Hello Erick,

So in your opinion what is the solution to use autosuggest with sentece :)
an exemple will be very helpfull,

Thanks,
best regards,
Anass BENJELLOUN



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Auto-Suggest-tp4149004p4149441.html
Sent from the Solr - User mailing list archive at Nabble.com.


Auto suggest with adding accents

2014-07-31 Thread benjelloun
Hello,

i'm trying to autosuggest frensh word with accents,
but if the user write q="gene" it will not suggest "genève", it will suggest
"general","genetic" ...



  suggestDic
  org.apache.solr.spelling.suggest.Suggester
  org.apache.solr.spelling.suggest.fst.WFSTLookupFactory
  suggestFolder
  suggestField  
  true
  true
   suggest/emptyDic.txt

textSuggest
  
  
  

  suggests
  true
  
  suggestDic
  true
  6   
  true
  6 
  true  


  suggests

  
 
The field "suggestField" dont isolate accents.

Thanks for help,

Best regards,
Anass BENJELLOUN




--
View this message in context: 
http://lucene.472066.n3.nabble.com/Auto-suggest-with-adding-accents-tp4150379.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Auto suggest with adding accents

2014-07-31 Thread benjelloun
hi,

q="gene"  it suggest "geneve"
ASCIIFoldingFilter work like isolate accent

what i need to suggest is "genève"

any idea?

thanks
best reagards
Anass BENJELLOUN



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Auto-suggest-with-adding-accents-tp4150379p4150392.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Auto suggest with adding accents

2014-08-01 Thread benjelloun
hello,

you didnt enderstand well my problem i give you exemple:
the document contain the word "genève".
q="gene"  auto suggestion give "geneve"
q="genè" auto suggestion give "genève"

but what i need is q="gene" auto suggestion give "genève" with accent like
correction of word.
i tried to add spellchecker to correct it but the maximum of character for
correction is 2
maybe there is other solution,
i give my schema of field:











 replacement="$2"/>-->







thanks best regards,
Anass BENJELLOUN




2014-07-31 18:41 GMT+02:00 Otis Gospodnetic-5 [via Lucene] <
ml-node+s472066n4150410...@n3.nabble.com>:

> You need to do the opposite.  Make sure accents are NOT removed at index &
> query time.
>
> Otis
> --
> Performance Monitoring * Log Analytics * Search Analytics
> Solr & Elasticsearch Support * http://sematext.com/
>
>
>
> On Thu, Jul 31, 2014 at 5:49 PM, benjelloun <[hidden email]
> <http://user/SendEmail.jtp?type=node&node=4150410&i=0>> wrote:
>
> > hi,
> >
> > q="gene"  it suggest "geneve"
> > ASCIIFoldingFilter work like isolate accent
> >
> > what i need to suggest is "genève"
> >
> > any idea?
> >
> > thanks
> > best reagards
> > Anass BENJELLOUN
> >
> >
> >
> > --
> > View this message in context:
> >
> http://lucene.472066.n3.nabble.com/Auto-suggest-with-adding-accents-tp4150379p4150392.html
>
> > Sent from the Solr - User mailing list archive at Nabble.com.
> >
>
>
> --
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://lucene.472066.n3.nabble.com/Auto-suggest-with-adding-accents-tp4150379p4150410.html
>  To unsubscribe from Auto suggest with adding accents, click here
> <http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4150379&code=YW5hc3MuYm5qQGdtYWlsLmNvbXw0MTUwMzc5fC0xMDQyNjMzMDgx>
> .
> NAML
> <http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: 
http://lucene.472066.n3.nabble.com/Auto-suggest-with-adding-accents-tp4150379p4150569.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Auto suggest with adding accents

2014-08-01 Thread benjelloun
hello,
on the new suggester, when the field is multivalued="true", itsnot working


i need to try the patch "LUCENE-3842" to test auto complete but i dont know
how.
i have Solr-4.7.2 not source code.
can some one help?

Best regards,
Anass BENJELLOUN



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Auto-suggest-with-adding-accents-tp4150379p4150609.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Auto suggest with adding accents

2014-08-04 Thread benjelloun
Any one find any solution for this probleme ?



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Auto-suggest-with-adding-accents-tp4150379p4150972.html
Sent from the Solr - User mailing list archive at Nabble.com.


Auto Complete

2014-08-04 Thread benjelloun
Hello,

I have an index which contain "genève"
I need to do this query q="gene" and get in auto complete this result :
"genève"  (e -> è)
I'm using StandardTokenizerFactory for field and SpellCheckComponent for
searchCompenent.
All solutions are welcome,

Thanks,
Best regards,
Anass BENJELLOUN 





--
View this message in context: 
http://lucene.472066.n3.nabble.com/Auto-Complete-tp4150987.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Auto Complete

2014-08-04 Thread benjelloun
hello you didnt enderstand well my probleme,

i give exemple: i have document contain "genève" with accent
when i do q="gene" --> autoSuggest "geneve" because of
ASCIIFoldingFilterFactory preserveOriginal="true"
when i do q="genè" --> autoSuggest "genève" 
but what i need to is:
q="gene" without accent and get this result: "genève" with accent



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Auto-Complete-tp4150987p4150989.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Auto Complete

2014-08-04 Thread benjelloun
here is my configuration:


  suggestDic
  org.apache.solr.spelling.suggest.Suggester
  org.apache.solr.spelling.suggest.fst.WFSTLookupFactory
  
  suggestFolder
  suggestField  
  true
  true
   suggestFolder/emptyDic.txt
 
  

 
textSuggest
  
  
  

  suggests
  true
  
  suggestDic
  true
  6   
  true
  6 
  true  


  suggests

  



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Auto-Complete-tp4150987p4150992.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Auto Complete

2014-08-04 Thread benjelloun
if you have another configuration to can solve this problem please share it,
thanks




--
View this message in context: 
http://lucene.472066.n3.nabble.com/Auto-Complete-tp4150987p4151002.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Auto Complete

2014-08-05 Thread benjelloun
hello,

did you find any solution to this problem ?

regards


2014-08-04 16:16 GMT+02:00 Michael Della Bitta-2 [via Lucene] <
ml-node+s472066n4150990...@n3.nabble.com>:

> How are you implementing autosuggest? I'm assuming you're querying an
> indexed field and getting a stored value back. But there are a wide
> variety
> of ways of doing it.
>
> Michael Della Bitta
>
> Applications Developer
>
> o: +1 646 532 3062
>
> appinions inc.
>
> “The Science of Influence Marketing”
>
> 18 East 41st Street
>
> New York, NY 10017
>
> t: @appinions <https://twitter.com/Appinions> | g+:
> plus.google.com/appinions
> <
> https://plus.google.com/u/0/b/112002776285509593336/112002776285509593336/posts>
>
> w: appinions.com <http://www.appinions.com/>
>
>
> On Mon, Aug 4, 2014 at 10:10 AM, benjelloun <[hidden email]
> <http://user/SendEmail.jtp?type=node&node=4150990&i=0>> wrote:
>
> > hello you didnt enderstand well my probleme,
> >
> > i give exemple: i have document contain "genève" with accent
> > when i do q="gene" --> autoSuggest "geneve" because of
> > ASCIIFoldingFilterFactory preserveOriginal="true"
> > when i do q="genè" --> autoSuggest "genève"
> > but what i need to is:
> > q="gene" without accent and get this result: "genève" with accent
> >
> >
> >
> > --
> > View this message in context:
> > http://lucene.472066.n3.nabble.com/Auto-Complete-tp4150987p4150989.html
>
> > Sent from the Solr - User mailing list archive at Nabble.com.
> >
>
>
> --
>  If you reply to this email, your message will be added to the discussion
> below:
> http://lucene.472066.n3.nabble.com/Auto-Complete-tp4150987p4150990.html
>  To unsubscribe from Auto Complete, click here
> <http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4150987&code=YW5hc3MuYm5qQGdtYWlsLmNvbXw0MTUwOTg3fC0xMDQyNjMzMDgx>
> .
> NAML
> <http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: 
http://lucene.472066.n3.nabble.com/Auto-Complete-tp4150987p4151211.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Auto Complete

2014-08-05 Thread benjelloun
yeah thats true i creat this index just for auto complete
here is my schema:









the i use "suggestField" for autocomplet like i mentioned above
do you have any other configuration which can do what i need ?



2014-08-05 15:19 GMT+02:00 Michael Della Bitta-2 [via Lucene] <
ml-node+s472066n4151216...@n3.nabble.com>:

> Unless I'm mistaken, it seems like you've created this index specifically
> for autocomplete? Or is this index used for general search also?
>
> The easy way to understand this question: Is there one entry in your index
> for each term you want to autocomplete? Or are there multiple entries that
> might contain the same term?
>
> Michael Della Bitta
>
> Applications Developer
>
> o: +1 646 532 3062
>
> appinions inc.
>
> “The Science of Influence Marketing”
>
> 18 East 41st Street
>
> New York, NY 10017
>
> t: @appinions <https://twitter.com/Appinions> | g+:
> plus.google.com/appinions
> <
> https://plus.google.com/u/0/b/112002776285509593336/112002776285509593336/posts>
>
> w: appinions.com <http://www.appinions.com/>
>
>
> On Tue, Aug 5, 2014 at 9:10 AM, benjelloun <[hidden email]
> <http://user/SendEmail.jtp?type=node&node=4151216&i=0>> wrote:
>
> > hello,
> >
> > did you find any solution to this problem ?
> >
> > regards
> >
> >
> > 2014-08-04 16:16 GMT+02:00 Michael Della Bitta-2 [via Lucene] <
> > [hidden email] <http://user/SendEmail.jtp?type=node&node=4151216&i=1>>:
> >
> > > How are you implementing autosuggest? I'm assuming you're querying an
> > > indexed field and getting a stored value back. But there are a wide
> > > variety
> > > of ways of doing it.
> > >
> > > Michael Della Bitta
> > >
> > > Applications Developer
> > >
> > > o: +1 646 532 3062
> > >
> > > appinions inc.
> > >
> > > “The Science of Influence Marketing”
> > >
> > > 18 East 41st Street
> > >
> > > New York, NY 10017
> > >
> > > t: @appinions <https://twitter.com/Appinions> | g+:
> > > plus.google.com/appinions
> > > <
> > >
> >
> https://plus.google.com/u/0/b/112002776285509593336/112002776285509593336/posts
> > >
> > >
> > > w: appinions.com <http://www.appinions.com/>
> > >
> > >
> > > On Mon, Aug 4, 2014 at 10:10 AM, benjelloun <[hidden email]
> > > <http://user/SendEmail.jtp?type=node&node=4150990&i=0>> wrote:
> > >
> > > > hello you didnt enderstand well my probleme,
> > > >
> > > > i give exemple: i have document contain "genève" with accent
> > > > when i do q="gene" --> autoSuggest "geneve" because of
> > > > ASCIIFoldingFilterFactory preserveOriginal="true"
> > > > when i do q="genè" --> autoSuggest "genève"
> > > > but what i need to is:
> > > > q="gene" without accent and get this result: "genève" with accent
> > > >
> > > >
> > > >
> > > > --
> > > > View this message in context:
> > > >
> > http://lucene.472066.n3.nabble.com/Auto-Complete-tp4150987p4150989.html
> > >
> > > > Sent from the Solr - User mailing list archive at Nabble.com.
> > > >
> > >
> > >
> > > --
> > >  If you reply to this email, your message will be added to the
> discussion
> > > below:
> > >
> http://lucene.472066.n3.nabble.com/Auto-Complete-tp4150987p4150990.html
> > >  To unsubscribe from Auto Complete, click here
> > > <
> >
> >
> > > .
> > > NAML
> > > <
> >
> http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
>
> > >
> > >
> >
> >
> >
> >
> > --
> > View this message in context:
> > http://lucene.472066.n3.nabble.com/Auto-Complete-tp4150987p4151211.html
>
> > Sent from the Solr - User mailing list archive at Nabble.com.
> >
>
>
> --
>  If you reply to this email, your message will be added to the discussion
> below:
> http://lucene.472066.n3.nabble.com/Auto-Complete-tp4150987p4151216.html
>  To unsubscribe from Auto Complete, click here
> <http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4150987&code=YW5hc3MuYm5qQGdtYWlsLmNvbXw0MTUwOTg3fC0xMDQyNjMzMDgx>
> .
> NAML
> <http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: 
http://lucene.472066.n3.nabble.com/Auto-Complete-tp4150987p4151222.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Auto Complete

2014-08-05 Thread benjelloun
i found this solution but when i test it nothing in suggestion



  fuzzySuggest
  org.apache.solr.spelling.suggest.Suggester
  org.apache.solr.spelling.suggest.fst.FuzzyLookupFactory
  suggestField
  suggestFolders
  true
  true
  texts
  false
  2
  suggestFolders/fuzzysuggest.txt
  
phrase_suggest
  

  

  fuzzySuggest
  true
  fuzzySuggest
  true
  10
  true
  10
  true


  fuzzySuggest

  


2014-08-05 15:32 GMT+02:00 anass benjelloun :

> yeah thats true i creat this index just for auto complete
> here is my schema:
>
>  required="false" multiValued="true"/>
>  required="false" multiValued="true"/>
>  required="false" multiValued="true"/>
>
> 
> 
> 
>
> the i use "suggestField" for autocomplet like i mentioned above
> do you have any other configuration which can do what i need ?
>
>
>
> 2014-08-05 15:19 GMT+02:00 Michael Della Bitta-2 [via Lucene] <
> ml-node+s472066n4151216...@n3.nabble.com>:
>
>  Unless I'm mistaken, it seems like you've created this index specifically
>> for autocomplete? Or is this index used for general search also?
>>
>> The easy way to understand this question: Is there one entry in your
>> index
>> for each term you want to autocomplete? Or are there multiple entries
>> that
>> might contain the same term?
>>
>> Michael Della Bitta
>>
>> Applications Developer
>>
>> o: +1 646 532 3062
>>
>> appinions inc.
>>
>> “The Science of Influence Marketing”
>>
>> 18 East 41st Street
>>
>> New York, NY 10017
>>
>> t: @appinions <https://twitter.com/Appinions> | g+:
>> plus.google.com/appinions
>> <
>> https://plus.google.com/u/0/b/112002776285509593336/112002776285509593336/posts>
>>
>> w: appinions.com <http://www.appinions.com/>
>>
>>
>> On Tue, Aug 5, 2014 at 9:10 AM, benjelloun <[hidden email]
>> <http://user/SendEmail.jtp?type=node&node=4151216&i=0>> wrote:
>>
>> > hello,
>> >
>> > did you find any solution to this problem ?
>> >
>> > regards
>> >
>> >
>> > 2014-08-04 16:16 GMT+02:00 Michael Della Bitta-2 [via Lucene] <
>> > [hidden email] <http://user/SendEmail.jtp?type=node&node=4151216&i=1>>:
>>
>> >
>> > > How are you implementing autosuggest? I'm assuming you're querying an
>> > > indexed field and getting a stored value back. But there are a wide
>> > > variety
>> > > of ways of doing it.
>> > >
>> > > Michael Della Bitta
>> > >
>> > > Applications Developer
>> > >
>> > > o: +1 646 532 3062
>> > >
>> > > appinions inc.
>> > >
>> > > “The Science of Influence Marketing”
>> > >
>> > > 18 East 41st Street
>> > >
>> > > New York, NY 10017
>> > >
>> > > t: @appinions <https://twitter.com/Appinions> | g+:
>> > > plus.google.com/appinions
>> > > <
>> > >
>> >
>> https://plus.google.com/u/0/b/112002776285509593336/112002776285509593336/posts
>> > >
>> > >
>> > > w: appinions.com <http://www.appinions.com/>
>> > >
>> > >
>> > > On Mon, Aug 4, 2014 at 10:10 AM, benjelloun <[hidden email]
>> > > <http://user/SendEmail.jtp?type=node&node=4150990&i=0>> wrote:
>> > >
>> > > > hello you didnt enderstand well my probleme,
>> > > >
>> > > > i give exemple: i have document contain "genève" with accent
>> > > > when i do q="gene" --> autoSuggest "geneve" because of
>> > > > ASCIIFoldingFilterFactory preserveOriginal="true"
>> > > > when i do q="genè" --> autoSuggest "genève"
>> > > > but what i need to is:
>> > > > q="gene" without accent and get this result: "genève" with accent
>> > > >
>> > > >
>> > > >
>> > > > --
>> > > > View this message in context:
>> > > >
>> > http://lucene.472066.n3.nabble.com/Auto-Complete-tp4150987p4150989.html
>> > >
>> > > > Sent from the Solr - User mailing list archive at Nabble.com.
>> > > >
>&g

Re: Auto Complete

2014-08-06 Thread benjelloun
Hello thanks for the tutorial i test all schema but its not what i need.
what i need is to auto complete with an autocorrection like i said before:
q="gene" -->autocomplete "genève" with accent


2014-08-05 18:03 GMT+02:00 Michael Della Bitta-2 [via Lucene] <
ml-node+s472066n4151261...@n3.nabble.com>:

> In this case, I recommend using the approach that this tutorial uses:
>
> http://www.cominvent.com/2012/01/25/super-flexible-autocomplete-with-solr/
>
> Basically the idea is you index the data a few different ways and then use
> edismax to query them all with different boosts. You'd use the stored
> version of you field for display, so your accented characters would not
> get
> stripped.
>
> Michael Della Bitta
>
> Applications Developer
>
> o: +1 646 532 3062
>
> appinions inc.
>
> “The Science of Influence Marketing”
>
> 18 East 41st Street
>
> New York, NY 10017
>
> t: @appinions <https://twitter.com/Appinions> | g+:
> plus.google.com/appinions
> <
> https://plus.google.com/u/0/b/112002776285509593336/112002776285509593336/posts>
>
> w: appinions.com <http://www.appinions.com/>
>
>
> On Tue, Aug 5, 2014 at 9:32 AM, benjelloun <[hidden email]
> <http://user/SendEmail.jtp?type=node&node=4151261&i=0>> wrote:
>
> > yeah thats true i creat this index just for auto complete
> > here is my schema:
> >
> >  > required="false" multiValued="true"/>
> >  > required="false" multiValued="true"/>
> >  > required="false" multiValued="true"/>
> >
> > 
> > 
> > 
> >
> > the i use "suggestField" for autocomplet like i mentioned above
> > do you have any other configuration which can do what i need ?
> >
> >
> >
> > 2014-08-05 15:19 GMT+02:00 Michael Della Bitta-2 [via Lucene] <
> > [hidden email] <http://user/SendEmail.jtp?type=node&node=4151261&i=1>>:
> >
> > > Unless I'm mistaken, it seems like you've created this index
> specifically
> > > for autocomplete? Or is this index used for general search also?
> > >
> > > The easy way to understand this question: Is there one entry in your
> > index
> > > for each term you want to autocomplete? Or are there multiple entries
> > that
> > > might contain the same term?
> > >
> > > Michael Della Bitta
> > >
> > > Applications Developer
> > >
> > > o: +1 646 532 3062
> > >
> > > appinions inc.
> > >
> > > “The Science of Influence Marketing”
> > >
> > > 18 East 41st Street
> > >
> > > New York, NY 10017
> > >
> > > t: @appinions <https://twitter.com/Appinions> | g+:
> > > plus.google.com/appinions
> > > <
> > >
> >
> https://plus.google.com/u/0/b/112002776285509593336/112002776285509593336/posts
> > >
> > >
> > > w: appinions.com <http://www.appinions.com/>
> > >
> > >
> > > On Tue, Aug 5, 2014 at 9:10 AM, benjelloun <[hidden email]
> > > <http://user/SendEmail.jtp?type=node&node=4151216&i=0>> wrote:
> > >
> > > > hello,
> > > >
> > > > did you find any solution to this problem ?
> > > >
> > > > regards
> > > >
> > > >
> > > > 2014-08-04 16:16 GMT+02:00 Michael Della Bitta-2 [via Lucene] <
> > > > [hidden email] <http://user/SendEmail.jtp?type=node&node=4151216&i=1
>
> > >>:
> > > >
> > > > > How are you implementing autosuggest? I'm assuming you're querying
> an
> > > > > indexed field and getting a stored value back. But there are a
> wide
> > > > > variety
> > > > > of ways of doing it.
> > > > >
> > > > > Michael Della Bitta
> > > > >
> > > > > Applications Developer
> > > > >
> > > > > o: +1 646 532 3062
> > > > >
> > > > > appinions inc.
> > > > >
> > > > > “The Science of Influence Marketing”
> > > > >
> > > > > 18 East 41st Street
> > > > >
> > > > > New York, NY 10017
> > > > >
> > > > > t: @appinions <https://twitter.com/Appinions> | g+:
> > > > > plus.google.com/appinions
> > > > > <
> > > > >
> > &