Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

random - several ordenation needs in the same request -


i have doubt solr possibilities. need request special issues:

i need first: promoted records terms typed user (ordered randomly). second: promoted records term typed user (ordered randomly). third: promoted records found stemming search (ordered randomly). fourth: promoted records found phonetic search (randomly). fifth: free records ordered alphabeticly (having or term typed user).

these results need paginated.

is possible in same request?

after finding out random ordering support in solr via:

<fieldtype name="random" class="solr.randomsortfield" /> <field name="random" type="random" indexed="true" stored="false"/> 

those queries possible not in 1 query

although 1 use facet , facet.query feature, returns count ... not docs.

i setup separate advertising index instead of normal way implement 'advertising' elevation component

promoted records terms typed user (ordered randomly)

a simple , query against advertising index

promoted records term typed user (ordered randomly)

a simple or query against advertising index

promoted records found stemming search (ordered randomly).

normal search (with stemming) in advertisment index.

promoted records found phonetic search (randomly).

you'll need transform query , terms via own phonetic transformation that. you'll have special field phonetic_text , you'll need query via

q=phonetic_text:"u r g8" (which means: great ;-))

free records ordered alphabeticly (having or term typed user).

again normal search via "and" or "or" sort parameter


Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -