bugXML repository / search engine - Bugs: bug #1319, query.setup()

 
 

bug #1319: query.setup()

Submitted by:  Frédéric Glorieux <fglorieux>
Submitted on:  Wed 02 Oct 2002 07:17:52 PM UTC  
 
Category: NoneSeverity: 1 - Wish
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 03 Oct 2002 07:40:26 AM UTC, comment #1:

Merci Martin pour la solution.
Cette erreur arrive quand aucun champ par défaut n'est défini pour la base. Le message pourrait être plus convivial, et surtout, vérifiez votre application.xconf
L'interprétation des attributs est plus stricte dans SDX 2. x@default="1"x ne fonctionne plus, changez pour @default="true" (de même pour @brief)

Frédéric Glorieux <fglorieux>
Project Member
Wed 02 Oct 2002 07:17:52 PM UTC, original submission:

J'ai un null pointer en dernière ligne du code suivant (en taglib)

sdx_query=new fr.gouv.culture.sdx.search.lucene.query.SimpleQuery();

sdx_query.enableLogging(sdx_log);
((fr.gouv.culture.sdx.search.lucene.query.SimpleQuery)sdx_query).setUp(sdx_locations, sdx_q, fr.gouv.culture.sdx.search.lucene.queryparser.QueryParser.DEFAULT_OPERATOR);

Or il n'y a rien de null (sdx_query répond puisque sdx_query.enableLogging(sdx_log); de même fr.gouv.culture.sdx.search.lucene.queryparser.QueryParser.DEFAULT_OPERATOR ou les autres paramètres) alors quoi ?

Frédéric Glorieux <fglorieux>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Thu 03 Oct 2002 11:43:02 AM UTCfglorieuxSeverity3 - Normal=>(Error - Not Found)
  Open/ClosedOpen=>(Error - Not Found)
Thu 03 Oct 2002 11:42:15 AM UTCfglorieuxStatusNone=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1